From 418175344b44a7cb8ce7437870ba20f90fd319e1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 2 May 2014 18:47:03 +0800 Subject: [PATCH] Spawn.vala --- Spawn.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.2