Commit 42375dec authored by Don Gagne's avatar Don Gagne

Merge pull request #1678 from dogmaphobic/mobileFix

Small build fix for mobile (Android and iOS).
parents a0af54b6 01e5682e
......@@ -242,12 +242,14 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(),
*/
UAS::~UAS()
{
#ifndef __mobile__
stopHil();
if (simulation) {
// wait for the simulator to exit
simulation->wait();
simulation->deleteLater();
}
#endif
writeSettings();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment