2011-02-09, 14:29
Apparently, in my Dharma SVN 35648 running on Jaunty, the flag xbmc.abortRequested is not set at shutdown.
This simple script:
logs "Abort Requested: False" even after XBMC has been requested to exit, still after the "NOTICE: stop python" notification in the log, and then the script is interrupted by the system abruptly.
Is it a known bug? Perhaps fixed in recent releases?
This simple script:
Code:
import time
import xbmc
xbmc.log("Started")
while 1:
print "Abort Requested: "+str(xbmc.abortRequested)
if (xbmc.abortRequested):
xbmc.log("Aborting...")
break
time.sleep(1)
xbmc.log("Exiting")
logs "Abort Requested: False" even after XBMC has been requested to exit, still after the "NOTICE: stop python" notification in the log, and then the script is interrupted by the system abruptly.
Is it a known bug? Perhaps fixed in recent releases?