projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
62c19d5
)
Spawn.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 2 May 2014 10:47:45 +0000
(18:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 2 May 2014 10:47:45 +0000
(18:47 +0800)
Spawn.vala
patch
|
blob
|
history
diff --git
a/Spawn.vala
b/Spawn.vala
index
af6bd4a
..
ad2680d
100644
(file)
--- a/
Spawn.vala
+++ b/
Spawn.vala
@@
-346,9
+346,9
@@
public class Spawn : Object
Process.close_pid(this.pid); // hopefully kills it..
this.pid = -1;
}
Process.close_pid(this.pid); // hopefully kills it..
this.pid = -1;
}
- 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);
+ if (this.in_ch
!= null
) this.in_ch.shutdown(true);
+ if (this.out_ch
!= null
) this.out_ch.shutdown(true);
+ if (this.err_ch
!= null
) this.err_ch.shutdown(true);
// blank out channels
this.in_ch = null;
this.err_ch = null;
// blank out channels
this.in_ch = null;
this.err_ch = null;