Kodi Community Forum
Stopping Script cleanly - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Stopping Script cleanly (/showthread.php?tid=57717)



Stopping Script cleanly - keydon - 2009-09-10

Hio,

in my script i have an endless while loop (it continuesly checks something)
so when i want to stop the script it results in an error, when i close xbmc while the script is still running xbmc crashes.

Is there a way to detect a 'stopping process' within the scriptloop? or other ideas?

The error itself doest tell much :/
Screen:Image

Log:
Code:
18:48:10 T:3756 M:874807296   ERROR: Scriptresult: Error
Thanks!