From 61d5e96cefe1c7475e193c4390159746174d0683 Mon Sep 17 00:00:00 2001
From: Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com>
Date: Wed, 29 Apr 2015 14:03:37 -0400
Subject: [PATCH] qtwrapper: Wait for all threads to finish

Call DRing::fini(), just like the dbus client does

Refs #70803
---
 src/qtwrapper/instancemanager_wrap.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/qtwrapper/instancemanager_wrap.h b/src/qtwrapper/instancemanager_wrap.h
index df7820f4..f8e4eb4b 100644
--- a/src/qtwrapper/instancemanager_wrap.h
+++ b/src/qtwrapper/instancemanager_wrap.h
@@ -54,6 +54,7 @@ public Q_SLOTS: // METHODS
    void Unregister(int pid)
    {
       Q_UNUSED(pid) //When directly linked, the PID is always the current process PID
+      DRing::fini();
    }
 
    bool isConnected();
-- 
GitLab