projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9febba
)
Spawn.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 2 May 2014 09:41:42 +0000
(17:41 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 2 May 2014 09:41:42 +0000
(17:41 +0800)
Spawn.vala
patch
|
blob
|
history
diff --git
a/Spawn.vala
b/Spawn.vala
index
3990e3d
..
140ae90
100644
(file)
--- a/
Spawn.vala
+++ b/
Spawn.vala
@@
-346,8
+346,8
@@
public class Spawn : Object
this.err_ch = false;
this.out_ch = false;
// rmeove listeners !! important otherwise we kill the CPU
- if (this.err_src
!== false
) GLib.source_remove(this.err_src);
- if (this.out_src
!== false
) GLib.source_remove(this.out_src);
+ 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;