Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
t-nelson authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  xbmc/windows/GUIWindowFileManager.cpp
View
3  xbmc/windows/GUIWindowFileManager.cpp
@@ -1178,8 +1178,7 @@ void CGUIWindowFileManager::OnJobComplete(unsigned int jobID, bool success, CJob
CApplicationMessenger::Get().SendGUIMessage(msg, GetID(), false);
}
- if (success)
- CJobQueue::OnJobComplete(jobID, success, job);
+ CJobQueue::OnJobComplete(jobID, success, job);
}
void CGUIWindowFileManager::ShowShareErrorMessage(CFileItem* pItem)
Please sign in to comment.
Something went wrong with that request. Please try again.