My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Older

  • Oct 22, 2008
    issue 3 (Disconnect not working) reported by ewoldt   -   What steps will reproduce the problem? 1. Refresh browser 2. 3. What is the expected output? What do you see instead? Disconnect does not happen and another instance of HttpService is created (causing large # of calls to be executed from the old HttpService) What version of the product are you using? On what operating system? Can recreate on Mac and Windows XP Please provide any additional information below. Here is the fix. Add this code to the beginning of the 'disconnect()' method of CometClient.as var disconnectObj : Object = {channel: "/meta/disconnect",clientId: _clientId}; sendMessage( _httpCommand, disconnectObj ); sendMessage( _httpTunnel, disconnectObj );
    What steps will reproduce the problem? 1. Refresh browser 2. 3. What is the expected output? What do you see instead? Disconnect does not happen and another instance of HttpService is created (causing large # of calls to be executed from the old HttpService) What version of the product are you using? On what operating system? Can recreate on Mac and Windows XP Please provide any additional information below. Here is the fix. Add this code to the beginning of the 'disconnect()' method of CometClient.as var disconnectObj : Object = {channel: "/meta/disconnect",clientId: _clientId}; sendMessage( _httpCommand, disconnectObj ); sendMessage( _httpTunnel, disconnectObj );
 
Hosted by Google Code