Commit fd80aa24 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

tear down global subtitles object at backend destruction

parent d74298d0
......@@ -120,9 +120,10 @@ Backend::Backend(QObject *parent, const QVariantList &)
Backend::~Backend()
{
if (LibVLC::self) {
if (LibVLC::self)
delete LibVLC::self;
}
if (GlobalSubtitles::self)
delete GlobalSubtitles::self;
#ifdef PHONON_PULSESUPPORT
PulseSupport::shutdown();
#endif
......
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