fixed: Don't remove a job from the processing queue until OnJobComplete has been...
authorjmarshallnz <jmarshallnz@svn>
Mon, 13 Dec 2010 19:45:26 +0000 (19:45 +0000)
committerjmarshallnz <jmarshallnz@svn>
Mon, 13 Dec 2010 19:45:26 +0000 (19:45 +0000)
commit64a0399c6c1768325be9d8c865fdb4e18d8892aa
treea799846a021ee149d6778b3828cdbae6d9c8ef8e
parent72e56f4a6c259e3b7b3959ed605e4871d20adeb0
fixed: Don't remove a job from the processing queue until OnJobComplete has been done - this function may be time consuming or may lock while waiting on app thread.  Other jobs queued up and waited on by app thread could then cause deadlocks.

(cherry picked from commit d3af3e0a1dc53df86f1b790bee6b5390ba65b205)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@35633 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
xbmc/utils/JobManager.cpp