mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-02 19:46:29 +03:00
Avoid crashes on plugin unload while loading.
This commit is contained in:
@@ -83,6 +83,7 @@ GitPlugin::GitPlugin( PluginManager* pluginManager, bool sync ) :
|
||||
}
|
||||
|
||||
GitPlugin::~GitPlugin() {
|
||||
waitUntilLoaded();
|
||||
mShuttingDown = true;
|
||||
if ( mStatusButton )
|
||||
mStatusButton->close();
|
||||
|
||||
Reference in New Issue
Block a user