nilay994 / simple-cpp-drone

Making Raspberry Pi send MSP commands to Betaflight
MIT License
2 stars 0 forks source link

CT3: exit correctly #6

Open nilay994 opened 3 years ago

nilay994 commented 3 years ago

Make sure to exit correctly by:

  1. exception handling / sigint: must invoke destructor
  2. destuctor must immediately kill all other threads and send MSP signals of disarm reliably and without delay.