mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 13:07:07 +01:00
Wait for the process lifetime to complete in SessionController Dispose
This commit is contained in:
@@ -270,7 +270,10 @@ namespace Tgstation.Server.Host.Components.Session
|
||||
|
||||
logger.LogTrace("Disposing...");
|
||||
if (!released)
|
||||
{
|
||||
process.Terminate();
|
||||
await process.Lifetime;
|
||||
}
|
||||
|
||||
await process.DisposeAsync();
|
||||
byondLock.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user