Nick Nishort
Member
Hi! Recently, after GMS 2.3.2.558 release, I found an issue:
When I finish the game (by calling game_end() script or just closing the window), in IDE output I see the following -
After "Script_Free called" message was printed, IDE freezes (for about ~5 sec). The time of freezing depends on how long I have played my game.
What is that? What is the reason? And how can I fix it? Before this update, everything was alright...
Thanks in advance!!!
P.S. : I have tested some thing - Freezing is not garbage collector dependent. And no - I'm using Clean Up event for all my sctructs etc.
P.S.S: If there are spellings, I'm sorry, but I'm not a native english speaker...
Update 1: Okay, I have tested some thing again - if I call gc_collect() during the game, it will also freeze. I think, the reason is that the garbage collector collects a lot of garbage and doesn't clean it up very often...
When I finish the game (by calling game_end() script or just closing the window), in IDE output I see the following -
After "Script_Free called" message was printed, IDE freezes (for about ~5 sec). The time of freezing depends on how long I have played my game.
What is that? What is the reason? And how can I fix it? Before this update, everything was alright...
Thanks in advance!!!
Update 1: Okay, I have tested some thing again - if I call gc_collect() during the game, it will also freeze. I think, the reason is that the garbage collector collects a lot of garbage and doesn't clean it up very often...
Last edited: