mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 06:44:10 +02:00
Properly handle aborted background classifying
This commit is contained in:
parent
5e939f10fd
commit
2634d0c7ec
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue