fix: Moves snapshot request synchronously (#2105)
This commit is contained in:
parent
717a1a062e
commit
e64a632998
2 changed files with 4 additions and 5 deletions
|
|
@ -517,11 +517,10 @@ public static class Core
|
|||
DoKill(_restartOnKill);
|
||||
}
|
||||
|
||||
// This is generally called from background threads during Preserialize
|
||||
internal static void RequestSnapshot(string snapshotPath)
|
||||
{
|
||||
_snapshotPath = snapshotPath;
|
||||
_performSnapshot = true; // Set this after the path so race conditions do not occur
|
||||
_performSnapshot = true;
|
||||
}
|
||||
|
||||
public static void VerifySerialization()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue