diff hgrunner.cpp @ 120:c92f5859c707

* Add incremental log (though not incremental relayout)
author Chris Cannam
date Mon, 29 Nov 2010 11:01:19 +0000
parents 78374cefa10f
children c3e8342d2de9
line wrap: on
line diff
--- a/hgrunner.cpp	Sun Nov 28 21:52:00 2010 +0000
+++ b/hgrunner.cpp	Mon Nov 29 11:01:19 2010 +0000
@@ -50,7 +50,10 @@
 HgRunner::~HgRunner()
 {
     closeTerminal();
-    if (m_proc) delete m_proc;
+    if (m_proc) {
+        m_proc->kill();
+        delete m_proc;
+    }
 }
 
 void HgRunner::requestAction(HgAction action)