Donate Share

WatiN

Tracker: Bugs

5 IE Dispose takes too long - ID: 1963035
Last Update: Settings changed ( jvmenen )

IE Dispose DialogWatcher
DialogWatcher wait end of watcherThread

watcherThread function check variable keepRunning only in one place. That's
why IE closing about 30 min.

Please make in function Start

foreach (ProcessThread t in process.Threads)
{
if (!keepRunning) return;


Nobody/Anonymous ( nobody ) - 2008-05-13 11:43

5

Closed

Fixed

Jeroen van Menen

WatiN.Core

Version 1.3.0

Public


Comments ( 3 )

Date: 2008-09-10 05:07
Sender: nin99

Hello, I modified DialogWatcher.cs and then IE can be diposed and closed
normally.

Modified: Comment watcherThread.Join(); in Dispose() method.

public void Dispose()
{
lock (this)
{
keepRunning = false;
if (IsRunning)
{
//watcherThread.Join();
}
Clear();
}
}

Is my modification error-prone? Please correct me if i'm wrong. Thanks and
best regards


Date: 2008-08-15 13:31
Sender: dpupek


Is this still busted? On XP Home, IE7 with the 2.0 version I still get
this problem.


Date: 2008-05-13 12:00
Sender: jvmenenProject AdminAccepting Donations


Thanks for the report. I have applied your suggested fix it will be in the
1.3 release and in the next 2.0 release.

Jeroen


Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
artifact_group_id Version 1.Next 2009-03-30 12:43 jvmenen
allow_comments 1 2009-03-30 12:43 jvmenen
artifact_group_id None 2008-05-13 12:00 jvmenen
status_id Open 2008-05-13 12:00 jvmenen
close_date - 2008-05-13 12:00 jvmenen
summary IE Disopose to long 2008-05-13 12:00 jvmenen
resolution_id None 2008-05-13 12:00 jvmenen