xbmc/xbmc — pull request #1053 by amet (2012-06-07 19:57:10+00:00)
Title: extend xbmc.Monitor with onAbortRequested()

it will be called by XBMC before shutting down.

aim is to replace xbmc.abortRequested and have xbmc.Monitor notify the script once XBMC wants us to shutdown instead of checking for xbmc.abortRequested in a while loop.

xbmc.abortRequested is still in but if we are doing API bump and are braking addons in future, it might be a good idea to remove it.

Cheers,
amet