Commit 98f7468f authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

qmgr: Clear job error on resume.

parent ce91365b
...@@ -371,6 +371,12 @@ static HRESULT WINAPI BackgroundCopyJob_Resume( ...@@ -371,6 +371,12 @@ static HRESULT WINAPI BackgroundCopyJob_Resume(
&& This->state != BG_JOB_STATE_TRANSFERRING) && This->state != BG_JOB_STATE_TRANSFERRING)
{ {
This->state = BG_JOB_STATE_QUEUED; This->state = BG_JOB_STATE_QUEUED;
This->error.context = This->error.code = 0;
if (This->error.file)
{
IBackgroundCopyFile2_Release(This->error.file);
This->error.file = NULL;
}
SetEvent(globalMgr.jobEvent); SetEvent(globalMgr.jobEvent);
} }
LeaveCriticalSection(&globalMgr.cs); LeaveCriticalSection(&globalMgr.cs);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment