fix: Fixes hanging tests (#1535)

This commit is contained in:
Kamron Batman 2023-10-09 00:22:59 -07:00 committed by GitHub
parent d0d81d0d5f
commit 629a5008c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 4 deletions

View file

@ -398,6 +398,8 @@ public static class Core
World.WaitForWriteCompletion();
World.ExitSerializationThreads();
if (!_crashed)
{
EventSink.InvokeShutdown();
@ -587,7 +589,7 @@ public static class Core
}
finally
{
World.SleepSerializationThreads();
World.ExitSerializationThreads();
}
}