Skip to content

Commit

Permalink
Fix memory leak (#195)
Browse files Browse the repository at this point in the history
* Add railway map overlay to SMU map

* Fix memory leak
  • Loading branch information
zbx1425 authored Oct 10, 2023
1 parent aa67ccd commit 2a82e13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2a82e13

Please sign in to comment.