LayoutTestHelper currently gets torn down when run-webkit-tests finally quits. However, if you have run-webkit-tests launch a browser to the results and wait on that instance, it could be a while before it's torn down.
Since LayoutTestHelper is designed mostly to deal with setting up things required for generating consistent results, etc. (i.e. changing the display color space), it seems like it only needs to be alive while the tests are running.
It would be nice if it were killed as soon as the last test was finished, before the browser with results is launched, so that the user's display can go back to its normal color space as soon as possible.
*** Bug 81731 has been marked as a duplicate of this bug. ***
On a mildly related note, I'm not actually sure why we wait for the browser to exit on the mac port. The chromium port doesn't; is this desired behavior?
(In reply to comment #3)
> On a mildly related note, I'm not actually sure why we wait for the browser to exit on the mac port. The chromium port doesn't; is this desired behavior?
Not at all; I assumed it happened on Chromium too!
Created attachment 133109 [details]
Filed bug 81845 and uploaded a patch to not block on safari at the end ...
Committed r111902: <http://trac.webkit.org/changeset/111902>