Back out d567f2581365 (bug 777514) because of build failure

This commit is contained in:
Matt Brubeck 2012-07-26 11:12:52 -07:00
parent b2229d5b24
commit 133c363c04

View File

@ -493,12 +493,7 @@ nsAppShell::nsAppShell()
nsAppShell::~nsAppShell()
{
// We separate requestExit() and join() here so we can wake the EventHub's
// input loop, and stop it from polling for input events
mReaderThread->requestExit();
mEventHub->wake();
status_t result = mReaderThread->join();
status_t result = mReaderThread->requestExitAndWait();
if (result)
LOG("Could not stop reader thread - %d", result);
gAppShell = NULL;