1
0
Fork 0
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:
Brian Fiete 2020-07-19 05:47:09 -07:00
parent b8340dfdc6
commit c08d1161fb

View file

@ -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;
} }
} }