soylomass Posted February 20, 2020 Share Posted February 20, 2020 Users have been reporting a problem for a long time where after some time playing the game, chat messages and player names (both of which use Text elements) would disappear and some time after that, the application would crash. As I don't have an iOS device, I installed XCode on a Mac OS VM and started to debug. I found out that most of the memory is consumed by Canvas instances, that don't seem to be garbage collected. I did a search on Google and found this https://github.com/openlayers/openlayers/issues/9291, could this be related? I will set the Canvas element's size manually to see if this fixes the issue, and will report with my results. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted February 20, 2020 Share Posted February 20, 2020 Set canvas.width = 0 for text elements destroy() ? good idea, but that kind of things are better handled at https://github.com/pixijs/pixi.js/issues . If possible, please make a PR. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.