rexrainbow / phaser3-rex-notes

Notes of phaser3 engine
MIT License
1.2k stars 260 forks source link

[Shatter] Fix RenderTexture.destroy being called twice #346

Closed quocsinh closed 1 year ago

quocsinh commented 1 year ago

Calling game.destroy() will cause RenderTexture.destroy function to be called twice and the game will crash.

image

rexrainbow commented 1 year ago

Thanks for this PR.