So one of the issues I have been wrapping my head around seem to be related to testing the screensaver when media was playing. And this is causes the below issue when restoring the display.
This does not happen in normal use, as the screensaver would never be activated when something is playing. (Not even when something is paused...)
2019-10-31 16:41:53.390 T:1707008896 ERROR: CPythonInvoker(30, /storage/.kodi/addons/screensaver.turnoff/screensaver.py): failed to run the gc to clean up after running prior to shutting down the Interpreter
2019-10-31 16:41:53.391 T:1707008896 WARNING: CPythonInvoker(30, /storage/.kodi/addons/screensaver.turnoff/screensaver.py): the python script "/storage/.kodi/addons/screensaver.turnoff/screensaver.py" has left several classes in memory that we couldn't clean up. The classes include: N14PythonBindings31XBMCAddon_xbmc_Monitor_DirectorE,N14PythonBindings42XBMCAddon_xbmcgui_WindowXMLDialog_DirectorE
So one of the issues I have been wrapping my head around seem to be related to testing the screensaver when media was playing. And this is causes the below issue when restoring the display.
This does not happen in normal use, as the screensaver would never be activated when something is playing. (Not even when something is paused...)