Commit 9d8fa827 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Fix potential crash on exit

parent 1bf69135
......@@ -53,6 +53,12 @@ MediaLibrary::MediaLibrary()
// The log callback isn't shared by all VLC::Instance's, yet since
// they all share a single libvlc_instance_t, any VLC::Instance still alive
// with a log callback set will try to invoke it.
// We manually call logUnset to ensure that the callback that is about to be deleted will
// not be called anymore.
Supports Markdown
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