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

Fixed BfPassInstance when shutting down while compiling

This commit is contained in:
Brian Fiete 2024-10-17 14:18:53 -04:00
parent 085bb5f26e
commit e4f1906627

View file

@ -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)