fixed: Don't remove a job from the processing queue until OnJobComplete has been...
authorjmarshallnz <jmarshallnz@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Mon, 13 Dec 2010 19:45:26 +0000 (19:45 +0000)
committerjmarshallnz <jmarshallnz@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Mon, 13 Dec 2010 19:45:26 +0000 (19:45 +0000)
commita8d8016412e7d7e9fec4abd5d185ea729f38e40a
treea799846a021ee149d6778b3828cdbae6d9c8ef8e
parenta6186e8bf3395288d089e84d0c7cb399af031b10
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