From 2a82e13f3f707ea78ce646b4360fa217f8f1b0b7 Mon Sep 17 00:00:00 2001 From: BX Zhang Date: Tue, 10 Oct 2023 13:47:35 +0800 Subject: [PATCH] Fix memory leak (#195) * Add railway map overlay to SMU map * Fix memory leak --- .../src/main/resources/assets/mtr/s_train_suspend/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2023/vanilla-assets/src/main/resources/assets/mtr/s_train_suspend/main.js b/2023/vanilla-assets/src/main/resources/assets/mtr/s_train_suspend/main.js index 7e601826..c34e9695 100644 --- a/2023/vanilla-assets/src/main/resources/assets/mtr/s_train_suspend/main.js +++ b/2023/vanilla-assets/src/main/resources/assets/mtr/s_train_suspend/main.js @@ -16,7 +16,7 @@ function createTrain(ctx, state, train) { } function disposeTrain(ctx, state, train) { - // state.pisTexture.close(); + state.pisTexture.close(); } function renderTrain(ctx, state, train) {