Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-25 15:50:19 +01:00
Ensure synchronous shutdown if the user kills the process.
Dieser Commit ist enthalten in:
Ursprung
65cab85b50
Commit
cb74210cd8
@ -456,8 +456,12 @@ public class VelocityServer implements ProxyServer, ForwardingAudience {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Thread thread = new Thread(shutdownProcess);
|
if (explicitExit) {
|
||||||
thread.start();
|
Thread thread = new Thread(shutdownProcess);
|
||||||
|
thread.start();
|
||||||
|
} else {
|
||||||
|
shutdownProcess.run();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren