Skip to content

Commit

Permalink
Merge PR #750: Kodi: Fix unregister nonexisting plugin timer
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins committed Nov 25, 2024
2 parents 1e10847 + f8cc644 commit b0d398a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kodi/integrationpluginkodi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b0d398a

Please sign in to comment.