mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 12:02:21 +02:00
Fixed crash when adding/renaming files during hot compile
This commit is contained in:
parent
b8340dfdc6
commit
c08d1161fb
1 changed files with 2 additions and 1 deletions
|
@ -8225,6 +8225,7 @@ namespace IDE
|
||||||
if (!mWorkspace.mCompileInstanceList.IsEmpty)
|
if (!mWorkspace.mCompileInstanceList.IsEmpty)
|
||||||
{
|
{
|
||||||
let compileInstance = mWorkspace.GetProjectSourceCompileInstance(projectSource, 0);
|
let compileInstance = mWorkspace.GetProjectSourceCompileInstance(projectSource, 0);
|
||||||
|
if (compileInstance != null)
|
||||||
sourceHash = compileInstance.mSourceHash;
|
sourceHash = compileInstance.mSourceHash;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue