Commit f9dc3c0a authored by Don Gagne's avatar Don Gagne

Make sure UAS is deleted on correct thread

parent d2cef492
...@@ -279,7 +279,8 @@ UASManager::~UASManager() ...@@ -279,7 +279,8 @@ UASManager::~UASManager()
storeSettings(); storeSettings();
// Delete all systems // Delete all systems
foreach (UASInterface* mav, systems) { foreach (UASInterface* mav, systems) {
delete mav; // deleteLater so it ends up on correct thread
mav->deleteLater();
} }
} }
......
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