Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Fire ProxyShutdownEvent before closing the scheduler / event bus
Fixes #322
Dieser Commit ist enthalten in:
Ursprung
d24573871d
Commit
04ab6ed162
@ -409,6 +409,8 @@ public class VelocityServer implements ProxyServer {
|
||||
timedOut = true;
|
||||
}
|
||||
|
||||
eventManager.fireShutdownEvent();
|
||||
|
||||
timedOut = !eventManager.shutdown() || timedOut;
|
||||
timedOut = !scheduler.shutdown() || timedOut;
|
||||
|
||||
@ -420,8 +422,6 @@ public class VelocityServer implements ProxyServer {
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
|
||||
eventManager.fireShutdownEvent();
|
||||
|
||||
shutdown = true;
|
||||
|
||||
if (explicitExit) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren