Fix missing debug trace

This commit is contained in:
Shane Freeder 2024-05-27 18:33:34 +01:00
parent cca7c50e9f
commit 1f743f10af

View file

@ -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