File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
src/us/mcparks/showscript/showscript/framework/schedulers Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -119,14 +119,10 @@ public void restart() {
119119
120120
121121 protected void executeShowAction (ShowAction action ) {
122- // Check if timings are enabled in the configuration
123- if (Main .timingManager != null ) {
124- try (MCTiming timing = Main .timingManager .ofStart ("ticks: " + timecode + " " + action .toString (), getTiming ())) {
125- executeActionLogic (action );
126- }
127- } else {
128- executeActionLogic (action );
129- }
122+ // Per-action timings disabled - creating unique timing names like
123+ // "ticks: X action.toString()" causes Aikar's timing library to cache
124+ // unlimited entries that never get GC'd, causing memory leaks.
125+ executeActionLogic (action );
130126 }
131127
132128 protected void executeActionLogic (ShowAction action ) {
You can’t perform that action at this time.
0 commit comments