]> git.sesse.net Git - vlc/commit
skins2: ensure the new SubX default skins doesn't crash on exit
authorErwan Tulou <erwan10@videolan.org>
Mon, 22 Jun 2009 21:24:51 +0000 (23:24 +0200)
committerErwan Tulou <erwan10@videolan.org>
Mon, 22 Jun 2009 22:09:39 +0000 (00:09 +0200)
commitf7e0923d25fc95597ea70404a23932fdfec83c7c
treeb306b600d691eab5ab9e31d8911c48ec908dc1a8
parent50b04778ef968917797a8757d38b4f0c2f726f4d
skins2: ensure the new SubX default skins doesn't crash on exit

SubX crashed on both Linux and Windows in a set::erase call (STL) when releasing C++ objects. Swapping two loops solved it. (the second loop was referencing variables released in the first loop). This makes SubX terminate nicely, but doesn't solve all crashes for skins2. (more cleanup to do)
modules/gui/skins2/src/var_manager.cpp