Stop leaking the profiler (#422)

This commit is contained in:
Jason Mitchell authored and GitHub committed 2026-07-10 18:05:29 +02:00
1 parent 6b87e1e2c3
commit fe8ccf9575
1 file changed
+1
@@ -23,6 +23,7 @@ public class MixinMinecraftServer {
private void runJobs(CallbackInfo ci) {
this.theProfiler.startSection("jobs");
ServerThreadUtil.runJobs();
this.theProfiler.endSection();
}
@Inject(method = "run", at = @At("HEAD"))