зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 4d8d4fd97c4f - bug 543764, because of deadlocks.
This commit is contained in:
Родитель
64367411af
Коммит
f19e49fe97
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче