1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Shutdown fix

This commit is contained in:
Brian Fiete 2020-01-06 15:07:13 -08:00
parent 5e65402e1a
commit 785ea87cd8

View file

@ -626,7 +626,6 @@ namespace IDE
RemoveAndDelete!(mProjectPanel);
RemoveAndDelete!(mClassViewPanel);
RemoveAndDelete!(mErrorsPanel);
RemoveAndDelete!(mOutputPanel);
RemoveAndDelete!(mImmediatePanel);
RemoveAndDelete!(mFindResultsPanel);
@ -648,6 +647,7 @@ namespace IDE
mBfBuildCompiler.CancelBackground();
if (mBfResolveCompiler != null)
mBfResolveCompiler.CancelBackground();
#if IDE_C_SUPPORT
mDepClang.CancelBackground();
mResolveClang.CancelBackground();
@ -690,6 +690,9 @@ namespace IDE
#endif
delete mSpellChecker;
//NOTE: this must be done after the resolve compiler has been destroyed
RemoveAndDelete!(mErrorsPanel);
// Clear these out, for delete ordering purposes
ProcessDeferredDeletes();
}