projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef187ed
)
Spawn.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 29 Aug 2016 09:01:35 +0000
(17:01 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 29 Aug 2016 09:01:35 +0000
(17:01 +0800)
Spawn.vala
patch
|
blob
|
history
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();
}