Spawn.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 09:41:47 +0000 (17:41 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 09:41:47 +0000 (17:41 +0800)
Spawn.vala

index 140ae90..837a821 100644 (file)
@@ -348,8 +348,8 @@ public class Spawn : Object
        // rmeove listeners !! important otherwise we kill the CPU
        if (this.err_src > -1 ) GLib.source_remove(this.err_src);
        if (this.out_src > -1 ) GLib.source_remove(this.out_src);
-       this.err_src = false;
-       this.out_src = false;
+       this.err_src = -1;
+       this.out_src = -1;
        
     }