mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed BfPassInstance when shutting down while compiling
This commit is contained in:
parent
085bb5f26e
commit
e4f1906627
1 changed files with 3 additions and 1 deletions
|
@ -406,7 +406,7 @@ namespace IDE
|
||||||
|
|
||||||
class ProcessBfCompileCmd : ExecutionCmd
|
class ProcessBfCompileCmd : ExecutionCmd
|
||||||
{
|
{
|
||||||
public BfPassInstance mBfPassInstance;
|
public BfPassInstance mBfPassInstance ~ delete _;
|
||||||
public CompileKind mCompileKind;
|
public CompileKind mCompileKind;
|
||||||
public Project mHotProject;
|
public Project mHotProject;
|
||||||
public Stopwatch mStopwatch ~ delete _;
|
public Stopwatch mStopwatch ~ delete _;
|
||||||
|
@ -9370,6 +9370,8 @@ namespace IDE
|
||||||
}
|
}
|
||||||
|
|
||||||
ProcessBeefCompileResults(processCompileCmd.mBfPassInstance, processCompileCmd.mCompileKind, processCompileCmd.mHotProject, processCompileCmd.mStopwatch);
|
ProcessBeefCompileResults(processCompileCmd.mBfPassInstance, processCompileCmd.mCompileKind, processCompileCmd.mHotProject, processCompileCmd.mStopwatch);
|
||||||
|
processCompileCmd.mBfPassInstance = null;
|
||||||
|
|
||||||
if (mHotResolveState != .None)
|
if (mHotResolveState != .None)
|
||||||
{
|
{
|
||||||
if (compileInstance.mCompileResult == .Success)
|
if (compileInstance.mCompileResult == .Success)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue