Author: titmuss
Date: Wed Apr 30 06:06:41 2008
New Revision: 2399

URL: http://svn.slimdevices.com?rev=2399&root=Jive&view=rev
Log:
Bug: N/A
Description:
Cancel all outstanding requests when disconnecting on Comet. This fixes 
firmware downgrading from 
7.0.1 to 7.0.


Modified:
    7.1/trunk/squeezeplay/src/squeezeplay/share/jive/net/Comet.lua

Modified: 7.1/trunk/squeezeplay/src/squeezeplay/share/jive/net/Comet.lua
URL: 
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay/share/jive/net/Comet.lua?rev=2399&root=Jive&r1=2398&r2=2399&view=diff
==============================================================================
--- 7.1/trunk/squeezeplay/src/squeezeplay/share/jive/net/Comet.lua (original)
+++ 7.1/trunk/squeezeplay/src/squeezeplay/share/jive/net/Comet.lua Wed Apr 30 
06:06:41 2008
@@ -877,6 +877,10 @@
                v.pending = true
        end
 
+       -- As we are disconnecting we no longer care about waiting for
+       -- a reply from the sent requests
+       self.sent_reqs = {}
+
        local data = { {
                channel  = '/meta/disconnect',
                clientId = self.clientId,

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to