1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-22 17:48:01 +02:00

Added safe mode

This commit is contained in:
Brian Fiete 2020-10-15 10:44:29 -07:00
parent 72242aa31c
commit 72411118c2
4 changed files with 80 additions and 6 deletions

View file

@ -355,7 +355,8 @@ namespace IDE.ui
}
let compiler = gApp.mBfResolveCompiler;
if ((!compiler.IsPerformingBackgroundOperation()) && (compiler.mResolveAllWait == 0))
if ((compiler == null) ||
((!compiler.IsPerformingBackgroundOperation()) && (compiler.mResolveAllWait == 0)))
mDirtyTicks = 0;
else
mDirtyTicks++;