From: Alan Knowles Date: Fri, 2 May 2014 10:47:03 +0000 (+0800) Subject: Spawn.vala X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=418175344b44a7cb8ce7437870ba20f90fd319e1;hp=5e359e2d2c126954fb771e838e7276a648dd017d;p=gitlive Spawn.vala --- diff --git a/Spawn.vala b/Spawn.vala index b35fc561..ce5c3c34 100644 --- a/Spawn.vala +++ b/Spawn.vala @@ -350,9 +350,9 @@ public class Spawn : Object if (this.out_ch) this.out_ch.shudown(true); if (this.err_ch) this.err_ch.shudown(true); // blank out channels - this.in_ch = false; - this.err_ch = false; - this.out_ch = false; + this.in_ch = null; + this.err_ch = null; + this.out_ch = null; // 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);