diff --git a/kodi/integrationpluginkodi.cpp b/kodi/integrationpluginkodi.cpp index 8aa10e89b..ff4d78572 100644 --- a/kodi/integrationpluginkodi.cpp +++ b/kodi/integrationpluginkodi.cpp @@ -47,7 +47,9 @@ IntegrationPluginKodi::IntegrationPluginKodi() IntegrationPluginKodi::~IntegrationPluginKodi() { - hardwareManager()->pluginTimerManager()->unregisterTimer(m_pluginTimer); + if (m_pluginTimer) + hardwareManager()->pluginTimerManager()->unregisterTimer(m_pluginTimer); + delete m_serviceBrowser; delete m_httpServiceBrowser; }