Backed out changeset 4d8d4fd97c4f - bug 543764, because of deadlocks.

This commit is contained in:
Benjamin Smedberg 2010-02-18 10:27:07 -05:00
Родитель 64367411af
Коммит f19e49fe97
1 изменённых файлов: 0 добавлений и 9 удалений

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

@ -294,15 +294,6 @@ AsyncChannel::NotifyChannelClosed()
void
AsyncChannel::NotifyMaybeChannelError()
{
// OnChannelError holds mMutex when it posts this task and this task cannot
// be allowed to run until OnChannelError has exited. We enforce that order
// by grabbing the mutex here which should only continue once OnChannelError
// has completed.
{
MutexAutoLock lock(mMutex);
// Nothing to do!
}
// TODO sort out Close() on this side racing with Close() on the
// other side
if (ChannelClosing == mChannelState) {