11-21-05 10:45 PM
I submitted this as a bug, but wanted to post it to the list in case anyone
encounters the problem someday:
The following steps cause Internet Explorer 6 to crash:
* Create a netconnection to FCS
* Make a netconnection.call and provide a result object that handles the
onResult event.
* In the onResult event, immediately disconnect the netconnection.
Internet Explorer will crash every time.
I worked around the problem by using setInterval to wait one second before =
I
disconnect the netconnection object.
(Note that cs.Connection is just a wrapper class for my netconnection
object, so anywhere you see it pretend it's just an nc)
var result_obj =3D new Object();
result_obj.onResult =3D function()
{
//this would cause IE to crash (equivalent to nc.close())
//cs.Connection.closeConnection();
//this works around the problem
this.waitInterval =3D setInterval( this, "wait", 1000 );
}
result_obj.wait =3D function()
{
clearInterval( this.waitInterval );
cs.Connection.closeConnection();
}
cs.Connection.call( "reloadLocalUser", result_obj );
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|