From 9da855848b91f66eebafc85e17702cce13dbd00d Mon Sep 17 00:00:00 2001
From: Joseph Mirabel <jmirabel@laas.fr>
Date: Fri, 9 Nov 2018 15:33:03 +0100
Subject: [PATCH] Fix synchronisation bug related to #89

---
 src/gui/windows-manager.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/windows-manager.cc b/src/gui/windows-manager.cc
index 61c0eee..246b3f9 100644
--- a/src/gui/windows-manager.cc
+++ b/src/gui/windows-manager.cc
@@ -169,7 +169,7 @@ namespace gepetto {
         } else {
           parent->takeRow(bti->row());
         }
-        delete bti;
+        bti->deleteLater();
         _nodes->second.first[i] = NULL;
       }
       nodeItemMap_.erase(_nodes);
-- 
GitLab