[gnote] Fix occasional crash when closing



commit 87b8ec81757543a9524e957b621e1b20a62abde2
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun May 3 19:53:48 2020 +0300

    Fix occasional crash when closing

 src/gnote.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gnote.cpp b/src/gnote.cpp
index f4bf3763..9d9317b0 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -76,7 +76,8 @@ namespace gnote {
     if(m_sync_manager) {
       delete m_sync_manager;
     }
-    delete m_manager;
+    // why this crashes inside GDataTime sometimes when deleted?
+    //delete m_manager;
   }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]