IE hangs after lookup

May 14 2008

  • 1 reply.
  • This question is not yet resolved.
  • This question was started by Josias.
  • Last post by Carl.
Josias
member
14 May, 14:57
Hi,
When I open and close a lookup it only works the first one or two times. Then it causes IE to hang after closing the lookup and eventually it crashes.

This happens with IE 6.0.2900.2180.xpsp_sp2_qfe.070227-2300
It doesn't happen with IE 6.0.2600.0000.xpclient.010817-1148

When I add the following code to the doUnload() function in xopus/media/lookup.html the problem doesn't seem to occur anymore:

function doUnload() {
sleep(500);
...
}

function sleep(numberMillis) {
var now = new Date();
var exitTime = now.getTime() + numberMillis;
while (true) {
now = new Date();
if (now.getTime() > exitTime)
return;
}
}

I think I'm not doing anything unusual in my lookups.

The workaround seems to solve the problem for me, but I wonder if anybody has a comment about the problem or the workaround.

Carl
Xopus Team
14 May, 15:21
We know this problem, and we've seen this for a long time, but we have not been able to pin it down. I've never heard of your solution, but if it works, it works. I've also seen the problem with IE 7.

My comment on this is however that I have only seen this when developing. I've never heard any client complain about this. I know this is a lousy comment and hardly useful, but it is all I have to offer. I hope that your solution holds.


React

HTML will be shown as HTML code.
Linebreaks and Links starting with http:// are automatically resolved