From e4f1906627423094ca01164286fc64de4b4b7d5a Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Thu, 17 Oct 2024 14:18:53 -0400 Subject: [PATCH] Fixed BfPassInstance when shutting down while compiling --- IDE/src/IDEApp.bf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index 4a94bc75..97c3f218 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -406,7 +406,7 @@ namespace IDE class ProcessBfCompileCmd : ExecutionCmd { - public BfPassInstance mBfPassInstance; + public BfPassInstance mBfPassInstance ~ delete _; public CompileKind mCompileKind; public Project mHotProject; public Stopwatch mStopwatch ~ delete _; @@ -9370,6 +9370,8 @@ namespace IDE } ProcessBeefCompileResults(processCompileCmd.mBfPassInstance, processCompileCmd.mCompileKind, processCompileCmd.mHotProject, processCompileCmd.mStopwatch); + processCompileCmd.mBfPassInstance = null; + if (mHotResolveState != .None) { if (compileInstance.mCompileResult == .Success)