Nov-02-2018, 06:36 PM
The function call should go on the stack, which should be cleaned up after the function call exits. What state do you have that is causing this problem? From what you've said so far, garbage collector is probably not the way to go.