I’m getting this warning when my script exits:
Code:
09:39:06.525 T:140467688380160 WARNING: CPythonInvoker(7, /home/anto/.kodi/addons/script.squeezeinfo/main.py): the python script "/home/anto/.kodi/addons/script.squeezeinfo/main.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui10DialogBusyE
The script uses WindowXML and I make sure I use “del” when the window closes.
I can also see XBMCAddon and xbmgui DIalogBusy in there. I have created an xbmcaddon instance to get settings etc. but haven’t used DialogBusy at all.
Do I need to delete the xbmcaddon instance when I exit too?
Any other ideas how to get rid of this message.
My code is here: https://github.com/elParaguayo/script.squeezeinfo
and the “del” methods can be seen in this commit: https://github.com/elParaguayo/script.sq…1933097473