mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-16 22:15:01 +03:00
Avoid crashes on plugin unload while loading.
This commit is contained in:
@@ -106,6 +106,7 @@ AutoCompletePlugin::AutoCompletePlugin( PluginManager* pluginManager, bool sync
|
||||
}
|
||||
|
||||
AutoCompletePlugin::~AutoCompletePlugin() {
|
||||
waitUntilLoaded();
|
||||
mShuttingDown = true;
|
||||
mManager->unsubscribeMessages( this );
|
||||
unsubscribeFileSystemListener();
|
||||
|
||||
Reference in New Issue
Block a user