Commit 9caf0210 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaLibrary: Fix a crash if the media library gets released without being initialized

parent a48f19f9
......@@ -59,6 +59,7 @@ MediaLibrary::~MediaLibrary()
// 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.
if ( m_vlcInstance.isValid() )
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