Author: titmuss
Date: Wed Apr 30 06:12:54 2008
New Revision: 2404
URL: http://svn.slimdevices.com?rev=2404&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.0/trunk/squeezeplay/src/squeezeplay/share/jive/net/Comet.lua
Modified: 7.0/trunk/squeezeplay/src/squeezeplay/share/jive/net/Comet.lua
URL:
http://svn.slimdevices.com/7.0/trunk/squeezeplay/src/squeezeplay/share/jive/net/Comet.lua?rev=2404&root=Jive&r1=2403&r2=2404&view=diff
==============================================================================
--- 7.0/trunk/squeezeplay/src/squeezeplay/share/jive/net/Comet.lua (original)
+++ 7.0/trunk/squeezeplay/src/squeezeplay/share/jive/net/Comet.lua Wed Apr 30
06:12:54 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