I have a thread with a XojoScript object running fine. The problem is I'm having trouble getting rid of the script object afterwards.
It appears that I have to clear all properties in the object manually, where I was hoping I could simply do a myXojoScript.Reset and myXojoScript = Nil for example.
This approach does not return the memory taken by the object though. I also tried to kill the whole thread object that runs the script, but although that does finish (?), the memory problem stays.
Am I missing something here or do I indeed have to clear all properties of myXojoScript before it destructs and frees the memory?