Backed out changeset a4b43a47589a (bug 1498782) for causing multimple failures e.g.: ts_paint_webext CLOSED TREE

This commit is contained in:
Margareta Eliza Balazs 2018-10-17 12:19:00 +03:00
Родитель aed30a6f84
Коммит 9cac5ce7af
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -870,12 +870,7 @@ nsHostResolver::Shutdown()
"Failed to shutdown GetAddrInfo");
}
// It is possible that there are still threads waiting on a very slow DNS
// query. In that case, it's better just to skip the thread shutdown,
// or we might trigger the shutdownhang reporter.
if (mActiveTaskCount == 0) {
mResolverThreads->Shutdown();
}
mResolverThreads->Shutdown();
}
nsresult