Author: titmuss
Date: Mon Feb  4 11:51:50 2008
New Revision: 1789

URL: http://svn.slimdevices.com?rev=1789&root=Jive&view=rev
Log:
Bug: 6918
Description:

Remove all code using .origin. It looks like this is historic and not used now. 
In some situations this could also lead to 
an infinate loop in SlimBrowser:free(), causing a watchdog reset on the 
hardware.


Modified:
    
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua

Modified: 
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL: 
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=1789&root=Jive&r1=1788&r2=1789&view=diff
==============================================================================
--- 
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua 
(original)
+++ 
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua 
Mon Feb  4 11:51:50 2008
@@ -1549,10 +1549,6 @@
 
                        -- cancel the step to prevent new data being loaded
                        step.cancelled = true
-
-                       if _curStep and _curStep.origin then
-                               _curStep = _curStep.origin
-                       end
                end
        )
                
@@ -1716,7 +1712,6 @@
        if _statusStep then
 
                -- arrange so that menuListener works
-               _statusStep.origin = _curStep
                _curStep = _statusStep
 
                -- current playlist should select currently playing item 
@@ -2154,20 +2149,7 @@
        _server = false
        _string = false
 
-       -- walk down our path and close...
-       local step = _curStep
-       
-       while step do
-               step.window:hide()
-               step = step.origin
-       end
-       
-       local step = _statusStep
-       
-       while step do
-               step.window:hide()
-               step = step.origin
-       end
+       log:info("done SlimBrowserApplet:free()")
        
        return true
 end

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

Reply via email to