mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
Bug 1270308 - Remove content-child-shutdown observer for OS.file. r=Yoric
This commit is contained in:
parent
9b9bcbfa17
commit
d6a6610b75
@ -1525,10 +1525,9 @@ function setupShutdown(phaseName) {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
if (isContent) {
|
||||
setupShutdown("contentChildShutdown");
|
||||
} else {
|
||||
// profile-before-change only exists in the parent, and OS.File should
|
||||
// not be used in the child process anyways.
|
||||
if (!isContent) {
|
||||
setupShutdown("profileBeforeChange")
|
||||
}
|
||||
File.shutdown = Barriers.shutdown.client;
|
||||
|
Loading…
x
Reference in New Issue
Block a user