Author: titmuss
Date: Thu Jul 3 09:48:52 2008
New Revision: 2660
URL: http://svn.slimdevices.com?rev=2660&root=Jive&view=rev
Log:
Bug: 5378
Description:
Don't do a comet disconnect from SqueezeCenter if this is still the active
server. After the disconnect the Controller stopped
trying to automatically reconnect to the SC, until the user selected a menu
item. This is a bug introduced in the recent
refactoring.
Modified:
7.1/trunk/squeezeplay/src/squeezeplay/share/jive/slim/SlimServer.lua
Modified: 7.1/trunk/squeezeplay/src/squeezeplay/share/jive/slim/SlimServer.lua
URL:
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay/share/jive/slim/SlimServer.lua?rev=2660&root=Jive&r1=2659&r2=2660&view=diff
==============================================================================
--- 7.1/trunk/squeezeplay/src/squeezeplay/share/jive/slim/SlimServer.lua
(original)
+++ 7.1/trunk/squeezeplay/src/squeezeplay/share/jive/slim/SlimServer.lua Thu
Jul 3 09:48:52 2008
@@ -403,14 +403,14 @@
-- server is gone
self.lastSeen = 0
self.jnt:notify("serverDelete", self)
-
- -- close connections
- self:disconnect()
if self == currentServer then
-- dont' delete state if this is the current server
return
end
+
+ -- close connections
+ self:disconnect()
-- delete players
for id, player in pairs(self.players) do
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins