Kodi Community Forum

Full Version: Stopping Script cleanly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!