rygel r618 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r618 - trunk/src/rygel
- Date: Thu, 19 Feb 2009 17:17:11 +0000 (UTC)
Author: zeeshanak
Date: Thu Feb 19 17:17:11 2009
New Revision: 618
URL: http://svn.gnome.org/viewvc/rygel?rev=618&view=rev
Log:
Disconnect from StateMachine.completed before cancelling it.
Modified:
trunk/src/rygel/rygel-content-directory.vala
trunk/src/rygel/rygel-http-server.vala
Modified: trunk/src/rygel/rygel-content-directory.vala
==============================================================================
--- trunk/src/rygel/rygel-content-directory.vala (original)
+++ trunk/src/rygel/rygel-content-directory.vala Thu Feb 19 17:17:11 2009
@@ -112,6 +112,7 @@
~ContentDirectory () {
// Cancel all browse calls
foreach (var browse in this.browses) {
+ browse.completed -= this.on_browse_completed;
browse.cancel ();
}
Modified: trunk/src/rygel/rygel-http-server.vala
==============================================================================
--- trunk/src/rygel/rygel-http-server.vala (original)
+++ trunk/src/rygel/rygel-http-server.vala Thu Feb 19 17:17:11 2009
@@ -49,6 +49,7 @@
public void destroy () {
// Cancel all http requests
foreach (var request in this.requests) {
+ request.completed -= this.on_request_completed;
request.cancel ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]