зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1270308 - Remove content-child-shutdown observer for OS.file. r=Yoric
This commit is contained in:
Родитель
9b9bcbfa17
Коммит
d6a6610b75
|
@ -1525,10 +1525,9 @@ function setupShutdown(phaseName) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// profile-before-change only exists in the parent, and OS.File should
|
||||||
if (isContent) {
|
// not be used in the child process anyways.
|
||||||
setupShutdown("contentChildShutdown");
|
if (!isContent) {
|
||||||
} else {
|
|
||||||
setupShutdown("profileBeforeChange")
|
setupShutdown("profileBeforeChange")
|
||||||
}
|
}
|
||||||
File.shutdown = Barriers.shutdown.client;
|
File.shutdown = Barriers.shutdown.client;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче