mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 14:33:09 +01:00
Fix command pool submitting on shutdown (#8272)
This commit is contained in:
parent
d4b4d5b95b
commit
9541fc32dc
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ new com.google.common.util.concurrent.ThreadFactoryBuilder()
|
||||
+ .setNameFormat("Paper Async Command Builder Thread Pool - %1$d")
|
||||
+ .setUncaughtExceptionHandler(new net.minecraft.DefaultUncaughtExceptionHandlerWithName(net.minecraft.server.MinecraftServer.LOGGER))
|
||||
+ .build()
|
||||
+ .build(),
|
||||
+ new java.util.concurrent.ThreadPoolExecutor.DiscardPolicy()
|
||||
+ );
|
||||
+
|
||||
+ private void sendAsync(ServerPlayer player) {
|
||||
|
|
Loading…
Reference in a new issue