Erich E. Hoover : qmgr: Call the notification callback when jobs complete.

Alexandre Julliard julliard at winehq.org
Mon Nov 11 16:20:23 CST 2019


Module: wine
Branch: master
Commit: 34ed1e37da1e1c1cfd641f1f16b0e00030cbb357
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=34ed1e37da1e1c1cfd641f1f16b0e00030cbb357

Author: Erich E. Hoover <erich.e.hoover at gmail.com>
Date:   Thu Nov  7 11:26:26 2019 -0700

qmgr: Call the notification callback when jobs complete.

Signed-off-by: Erich E. Hoover <erich.e.hoover at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/qmgr/job.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/qmgr/job.c b/dlls/qmgr/job.c
index 0eef3361d4..c33389574e 100644
--- a/dlls/qmgr/job.c
+++ b/dlls/qmgr/job.c
@@ -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;
         }
 




More information about the wine-cvs mailing list