Skip to content
This repository
Browse code

Don't leave failed fileop jobs in the processing list.

We want to remove fileop jobs from the queue regardless of whether they
were successful or not.  Otherwise we crash on the next call to
AddJob().
  • Loading branch information...
commit a8a9bb8c891082edfb70d71688aa53b4117c8a9c 1 parent 15f4449
Trent Nelson authored February 15, 2013

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  xbmc/windows/GUIWindowFileManager.cpp
3  xbmc/windows/GUIWindowFileManager.cpp
@@ -1178,8 +1178,7 @@ void CGUIWindowFileManager::OnJobComplete(unsigned int jobID, bool success, CJob
1178 1178
     CApplicationMessenger::Get().SendGUIMessage(msg, GetID(), false);
1179 1179
   }
1180 1180
 
1181  
-  if (success)
1182  
-    CJobQueue::OnJobComplete(jobID, success, job);
  1181
+  CJobQueue::OnJobComplete(jobID, success, job);
1183 1182
 }
1184 1183
 
1185 1184
 void CGUIWindowFileManager::ShowShareErrorMessage(CFileItem* pItem)

0 notes on commit a8a9bb8

Please sign in to comment.
Something went wrong with that request. Please try again.