Permalink
Browse files

fixed, add missing UnregisterCallback for XBMCHelper

  • Loading branch information...
davilla committed Sep 19, 2013
1 parent c8238f5 commit 0f16cb532c62205e16f264eb1a8134ab2120bfcc
Showing with 3 additions and 0 deletions.
  1. +3 −0 xbmc/settings/Settings.cpp
@@ -416,6 +416,9 @@ void CSettings::Uninitialize()
#endif // defined(TARGET_LINUX)
m_settingsManager->UnregisterCallback(&g_weatherManager);
m_settingsManager->UnregisterCallback(&PERIPHERALS::CPeripherals::Get());
+#if defined(TARGET_DARWIN_OSX)
+ m_settingsManager->UnregisterCallback(&XBMCHelper::GetInstance());
+#endif
// unregister ISubSettings implementations
m_settingsManager->UnregisterSubSettings(&g_application);

0 comments on commit 0f16cb5

Please sign in to comment.