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) {
); );
} }
// 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;