I wrote a script using several TempTool functions (like this https://developer.vectorworks.net/index.php/VS:RunTempTool ).
When I abort the tool while it is running, it won't work properly the next time until I reopen and close the code. It appears to get stuck in the callback function of the temptool during which it was aborted.
This happens from the script folder aswell as used from the menu as a plug-in.
What could be the cause of this?