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

index ce5c3c3..af6bd4a 100644 (file)
@@ -346,9 +346,9 @@ public class Spawn : Object
             Process.close_pid(this.pid); // hopefully kills it..
             this.pid = -1;
         }
-        if (this.in_ch)  this.in_ch.shudown(true);
-        if (this.out_ch)  this.out_ch.shudown(true);
-        if (this.err_ch)  this.err_ch.shudown(true);
+        if (this.in_ch)  this.in_ch.shutdown(true);
+        if (this.out_ch)  this.out_ch.shutdown(true);
+        if (this.err_ch)  this.err_ch.shutdown(true);
         // blank out channels
         this.in_ch = null;
         this.err_ch = null;