qmgr: Call the notification callback when jobs complete.
Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1edda7a302
commit
34ed1e37da
|
@ -1280,6 +1280,8 @@ void processJob(BackgroundCopyJobImpl *job)
|
|||
if (done)
|
||||
{
|
||||
transitionJobState(job, BG_JOB_STATE_QUEUED, BG_JOB_STATE_TRANSFERRED);
|
||||
if (job->callback && (job->notify_flags & BG_NOTIFY_JOB_TRANSFERRED))
|
||||
IBackgroundCopyCallback2_JobTransferred(job->callback, (IBackgroundCopyJob*)&job->IBackgroundCopyJob3_iface);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue