1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 22:34:09 +02:00

Properly handle aborted background classifying

This commit is contained in:
Brian Fiete 2022-01-08 06:54:48 -05:00
parent 5e939f10fd
commit 2634d0c7ec

View file

@ -1187,7 +1187,11 @@ namespace IDE.ui
//if (mCurParser != null) //if (mCurParser != null)
{ {
if (gApp.mWorkspace.mProjectLoadState != .Loaded) if (gApp.mWorkspace.mProjectLoadState != .Loaded)
{
resolveParams.mCancelled = true;
resolveParams.mWaitEvent.Set(true);
return true; return true;
}
if (!isHi) if (!isHi)
Debug.Assert(!mIsPerformingBackgroundClassify); Debug.Assert(!mIsPerformingBackgroundClassify);