2011-09-15, 10:40
Hi,
I'm developing a script and I noticed that if I press the Power button of my HTPC, XBMC fails to properly shutdown if the script is on a dialog screen (a Dialog().ok() screen, for example). It works ok if on any other screen. Looking at the logs, I see that it starts the shutdown process but hangs on "stop python". I don't know if it makes any difference but usually these dialogs are created in onInit() handlers of most of the interfaces.
Any idea why?
Thanks
I'm developing a script and I noticed that if I press the Power button of my HTPC, XBMC fails to properly shutdown if the script is on a dialog screen (a Dialog().ok() screen, for example). It works ok if on any other screen. Looking at the logs, I see that it starts the shutdown process but hangs on "stop python". I don't know if it makes any difference but usually these dialogs are created in onInit() handlers of most of the interfaces.
Any idea why?
Thanks