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

Safe mode fixes

This commit is contained in:
Brian Fiete 2022-04-16 13:44:04 -07:00
parent 69fbaf670d
commit 0ee3259eb1

View file

@ -153,6 +153,9 @@ namespace IDE.ui
if (!mAwaitingGetSymbolInfo) if (!mAwaitingGetSymbolInfo)
return true; return true;
if (gApp.mBfResolveCompiler == null)
return false;
if (gApp.mBfResolveCompiler.IsPerformingBackgroundOperationHi()) if (gApp.mBfResolveCompiler.IsPerformingBackgroundOperationHi())
return false; return false;
@ -850,6 +853,12 @@ namespace IDE.ui
{ {
base.Update(); base.Update();
if (gApp.mBfResolveCompiler == null)
{
Close();
return;
}
if ((mUpdatingProjectSources == null) && (mUpdateCnt > 30) && (gApp.mUpdateCnt % 4 == 0)) if ((mUpdatingProjectSources == null) && (mUpdateCnt > 30) && (gApp.mUpdateCnt % 4 == 0))
MarkDirty(); MarkDirty();