Fix keymap.
[vuplus_xbmc] / xbmc / BackgroundInfoLoader.cpp
index 1cd6e62..3466800 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *      Copyright (C) 2005-2013 Team XBMC
- *      http://www.xbmc.org
+ *      http://xbmc.org
  *
  *  This Program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -89,11 +89,12 @@ void CBackgroundInfoLoader::Run()
       }
     }
 
-    m_bIsLoading = false;
     OnLoaderFinish();
+    m_bIsLoading = false;
   }
   catch (...)
   {
+    m_bIsLoading = false;
     CLog::Log(LOGERROR, "%s - Unhandled exception", __FUNCTION__);
   }
 }