Backed out changeset 95c0feba19ec (bug 1369002)

This commit is contained in:
Carsten "Tomcat" Book
2017-07-28 09:19:59 +02:00
parent 00f9501828
commit 2b8e5ca98e

View File

@@ -330,7 +330,7 @@ NS_IMETHODIMP
nsThreadManager::GetCurrentThread(nsIThread** aResult)
{
// Keep this functioning during Shutdown
if (!mMainThread) {
if (NS_WARN_IF(!mMainThread)) {
return NS_ERROR_NOT_INITIALIZED;
}
*aResult = GetCurrentThread();