Bug 721603 - We should spin the loop after calling asyncClose in Database.cpp. r=mak.

This commit is contained in:
Rafael Ávila de Espíndola 2012-03-01 12:03:33 -05:00
parent fe644b724a
commit ccd9b28b5b

View File

@ -1856,8 +1856,7 @@ Database::Shutdown()
nsRefPtr<BlockingConnectionCloseCallback> closeListener =
new BlockingConnectionCloseCallback();
(void)mMainConn->AsyncClose(closeListener);
// The spinning is temporarily disabled. See bug 728653.
//closeListener->Spin();
closeListener->Spin();
// Don't set this earlier, otherwise some internal helper used on shutdown
// may bail out.