Bug 1270308 - Remove content-child-shutdown observer for OS.file. r=Yoric

This commit is contained in:
Andrew McCreight 2016-06-01 15:05:54 -07:00
Родитель 9b9bcbfa17
Коммит d6a6610b75
1 изменённых файлов: 3 добавлений и 4 удалений

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

@ -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;