Commit 1c07e9e4 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen Committed by Jean-Baptiste Kempf

Don't assert for NULL instance in killInstance

Singleton pattern is about not carring about this.
Fixing failing assert when quitting VLC after the view menu has been
clicked
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent af18a24a
......@@ -75,7 +75,6 @@ public:
}
static void killInstance()
{
assert( instance != NULL );
delete instance;
instance = NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment