Please sign in to comment.
[fix] When an XBMCAddon::xbmcgui::Window class was deleted, it would …
…occationally still be required to handle calls from the CGUIWindow system but by then it's deleted. This resolves that by reference counting Window classes from both Python AND the CGUIWindow system so that it's not finally deleted until both are done with it. In this case the 'unregister' work that was previously done in the 'deallocating' method needed to be moved to a separate method (now called 'dispose') and invoked when python is finished with the Window rather than on destruction.
- Loading branch information...
Showing with 32 additions and 21 deletions.