mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Fix missing debug trace
This commit is contained in:
parent
cca7c50e9f
commit
1f743f10af
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ plugin.getPluginMeta().getDisplayName(),
|
||||
+ "This plugin is not properly shutting down its async tasks when it is being shut down. This task may throw errors during the final shutdown logs and might not complete before process dies."
|
||||
+ ));
|
||||
+ if (console.isDebugging()) io.papermc.paper.util.TraceUtil.dumpTraceForThread(worker.getThread(), "still running"); // Paper - Debugging
|
||||
+ }
|
||||
+ }
|
||||
+ // Paper end - Wait for Async Tasks during shutdown
|
||||
|
|
Loading…
Reference in a new issue