(Or maybe this is just how python works, since i don't import my sub script as i do in idle because SP wont allow me)
Syntax: Select all
from <addon> import sql
(where in idle i just simple do)
Syntax: Select all
import sql
Syntax: Select all
from <addon> import sql
Syntax: Select all
import sql
Tuck wrote:Is it suppose to terminate all threads a addon created on sp_unload ?, i have a thread where i need to safely close it and it works as intended in IDLE but true SP it just terminates the hole thing when the main script gets unloaded my thread is imported from another .py file, just incase that matters
(Or maybe this is just how python works, since i don't import my sub script as i do in idle because SP wont allow me)Syntax: Select all
from <addon> import sql
(where in idle i just simple do)Syntax: Select all
import sql
Return to “Plugin Development Support”
Users browsing this forum: Bing [Bot] and 85 guests