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:
parent
3e9530f419
commit
9a468beb20
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user