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

index c9e392c..08032c1 100644 (file)
@@ -241,7 +241,7 @@ public class Spawn : Object
             stdout.printf("PID: %d" ,this.pid);
         }
         
-        this.ref();
+        this.ref(); // additional ref - cleared on tidyup...
         
         this.in_ch = new GLib.IOChannel.unix_new(standard_input);
         this.out_ch = new GLib.IOChannel.unix_new(standard_output);