From 90065d64c84fad070ac87d05099b505622a25ffe Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 31 Dec 2021 08:11:09 -0500 Subject: [PATCH] Fixed "Safe Mode" crash --- IDE/src/ui/ErrorsPanel.bf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IDE/src/ui/ErrorsPanel.bf b/IDE/src/ui/ErrorsPanel.bf index be5f5fbb..8001dc90 100644 --- a/IDE/src/ui/ErrorsPanel.bf +++ b/IDE/src/ui/ErrorsPanel.bf @@ -355,7 +355,7 @@ namespace IDE.ui } let compiler = gApp.mBfResolveCompiler; - if ((mNeedsResolveAll) && (!compiler.IsPerformingBackgroundOperation())) + if ((mNeedsResolveAll) && (compiler != null) && (!compiler.IsPerformingBackgroundOperation())) { if (compiler.mResolveAllWait == 0) compiler.QueueDeferredResolveAll();