rygel r554 - trunk/src/rygel



Author: zeeshanak
Date: Mon Feb  9 22:28:55 2009
New Revision: 554
URL: http://svn.gnome.org/viewvc/rygel?rev=554&view=rev

Log:
Hook to end of response before starting it.

Modified:
   trunk/src/rygel/rygel-http-request.vala

Modified: trunk/src/rygel/rygel-http-request.vala
==============================================================================
--- trunk/src/rygel/rygel-http-request.vala	(original)
+++ trunk/src/rygel/rygel-http-request.vala	Mon Feb  9 22:28:55 2009
@@ -90,9 +90,9 @@
                                          "RygelLiveResponse",
                                          src);
         this.response = response;
+        response.ended += on_response_ended;
 
         response.start ();
-        response.ended += on_response_ended;
     }
 
     private void serve_uri (string uri, size_t size) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]