projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90496cf
)
core: Remove reference cycle in HTTP request
author
Jens Georg
<mail@jensge.org>
Mon, 19 Dec 2011 07:14:55 +0000
(08:14 +0100)
committer
Jens Georg
<mail@jensge.org>
Fri, 23 Dec 2011 17:25:04 +0000
(18:25 +0100)
src/rygel/rygel-http-request.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-http-request.vala
b/src/rygel/rygel-http-request.vala
index
6f95ed4
..
348bc29
100644
(file)
--- a/
src/rygel/rygel-http-request.vala
+++ b/
src/rygel/rygel-http-request.vala
@@
-71,9
+71,10
@@
internal abstract class Rygel.HTTPRequest : GLib.Object, Rygel.StateMachine {
yield this.handle ();
} catch (Error error) {
this.handle_error (error);
-
- return;
}
+
+ // break probable cyclic references
+ this.cancellable = null;
}
protected abstract async void handle () throws Error;