diff --git a/toolkit/components/osfile/modules/osfile_async_front.jsm b/toolkit/components/osfile/modules/osfile_async_front.jsm index 33d14219b121..fc00e9c3e839 100644 --- a/toolkit/components/osfile/modules/osfile_async_front.jsm +++ b/toolkit/components/osfile/modules/osfile_async_front.jsm @@ -625,7 +625,7 @@ if (SharedAll.Config.DEBUG && Scheduler.launched) { const PREF_OSFILE_TEST_SHUTDOWN_OBSERVER = "toolkit.osfile.test.shutdown.observer"; -AsyncShutdown.webWorkersShutdown.addBlocker( +AsyncShutdown.xpcomWillShutdown.addBlocker( "OS.File: flush pending requests, warn about unclosed files, shut down service.", async function() { // Give clients a last chance to enqueue requests.