Do you know why scripts are not deleted immediately after terminate?
Terminated scripts are placed into ScriptsWaitingForDelete and deleted only on game exit/restart.
Originally posted by @x87 in #552 (comment)
So, if you load/terminate custom script in a loop, you don't deallocate memory and can potentially run out of it, unless you reload the game.
Originally posted by @x87 in #552 (comment)
Do you know why scripts are not deleted immediately after terminate?
Terminated scripts are placed into ScriptsWaitingForDelete and deleted only on game exit/restart.
Originally posted by @x87 in #552 (comment)
So, if you load/terminate custom script in a loop, you don't deallocate memory and can potentially run out of it, unless you reload the game.
Originally posted by @x87 in #552 (comment)