projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Spawn.vala
[gitlive]
/
Spawn.vala
diff --git
a/Spawn.vala
b/Spawn.vala
index
0ee0486
..
2c13854
100644
(file)
--- a/
Spawn.vala
+++ b/
Spawn.vala
@@
-365,7
+365,7
@@
public class Spawn : Object
private void tidyup()
{
- this.unref();
+
if (this.pid > -1) {
Process.close_pid(this.pid); // hopefully kills it..
this.pid = -1;
@@
-386,7
+386,7
@@
public class Spawn : Object
//if (this.out_src > -1 ) GLib.source_remove(this.out_src);
this.err_src = -1;
this.out_src = -1;
-
+ this.unref();
}