fix: Fixes exit threads preventing reboots (#1886)

This commit is contained in:
Kamron Batman 2024-07-23 20:57:13 -07:00 • committed by GitHub
parent bbcf5da7d1
commit fd067febd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -397,7 +397,7 @@ public static class World
{ {
for (var i = 0; i < _threadWorkers.Length; i++) for (var i = 0; i < _threadWorkers.Length; i++)
{ {
_threadWorkers[i].Exit(); _threadWorkers[i]?.Exit();
} }
} }