Spawn.vala
authorAlan Knowles <alan@roojs.com>
Mon, 29 Aug 2016 08:17:19 +0000 (16:17 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 29 Aug 2016 08:17:19 +0000 (16:17 +0800)
Spawn.vala

index cdf3065..c9e392c 100644 (file)
@@ -365,6 +365,7 @@ public class Spawn : Object
 
     private void tidyup()
     {
+        this.unref();
         if (this.pid > -1) {
             Process.close_pid(this.pid); // hopefully kills it..
             this.pid = -1;