1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-01 18:29:16 +01:00

Workaround for the crashes during shutdown of GCS.

This commit is contained in:
m_thread 2014-10-24 15:11:10 +02:00
parent 3e9530f419
commit 9a468beb20

View File

@ -52,10 +52,14 @@ WelcomePlugin::WelcomePlugin()
WelcomePlugin::~WelcomePlugin() WelcomePlugin::~WelcomePlugin()
{ {
// The below code is commented out to avoid having the application
// crash when it is terminated. TODO: Fix a real solution.
/*
if (m_welcomeMode) { if (m_welcomeMode) {
removeObject(m_welcomeMode); removeObject(m_welcomeMode);
delete m_welcomeMode; delete m_welcomeMode;
} }
*/
} }
/*! Initializes the plugin. Returns true on success. /*! Initializes the plugin. Returns true on success.