]> git.sesse.net Git - vlc/commit
skins2: work around a deallocation problem
authorErwan Tulou <erwan10@videolan.org>
Mon, 22 Feb 2010 16:03:44 +0000 (17:03 +0100)
committerErwan Tulou <erwan10@videolan.org>
Mon, 22 Feb 2010 16:27:18 +0000 (17:27 +0100)
commite95b99e6466cf4a9d1c9c27bc980b0dc11c5092f
tree0a5619b24fc7c485984759e4340681af68138bc6
parentf745927683e483793b8b2d0de63d9b8c5c0debd4
skins2: work around a deallocation problem

VlcManager and VarManager dependents on each other (a design problem)
Anyway, it is a bad idea to use instance() on any manager when deallocating ressources
as it can start anew a manager already deallocated.
Better use global variables in p_sys and act accordingly.
modules/gui/skins2/utils/var_text.cpp