зеркало из https://github.com/mozilla/gecko-dev.git
Bandaid for bug 508128. r=waldo
This commit is contained in:
Родитель
5b023054b1
Коммит
49b25c7ce7
|
@ -729,6 +729,11 @@ nsHttpServer.prototype =
|
|||
// Fire a pending server-stopped notification if it's our responsibility.
|
||||
if (!this._hasOpenConnections() && this._socketClosed)
|
||||
this._notifyStopped();
|
||||
// Bug 508125: Add a GC here else we'll use gigabytes of memory running
|
||||
// mochitests. We can't rely on xpcshell doing an automated GC, as that
|
||||
// would interfere with testing GC stuff...
|
||||
if (typeof gc === "function")
|
||||
gc();
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче