diff --git a/toolkit/components/osfile/modules/osfile_async_front.jsm b/toolkit/components/osfile/modules/osfile_async_front.jsm index 5a27558b9f5a..1055c2f6ec3d 100644 --- a/toolkit/components/osfile/modules/osfile_async_front.jsm +++ b/toolkit/components/osfile/modules/osfile_async_front.jsm @@ -305,7 +305,9 @@ let Scheduler = this.Scheduler = { let message = ["Meta_shutdown", [reset]]; Scheduler.latestReceived = []; - Scheduler.latestSent = [Date.now(), ...message]; + Scheduler.latestSent = [Date.now(), + Task.Debugging.generateReadableStack(new Error().stack), + ...message]; // Wait for result let resources; @@ -981,7 +983,7 @@ if (!SharedAll.Constants.Win) { /** * Gets the number of bytes available on disk to the current user. * - * @param {string} Platform-specific path to a directory on the disk to + * @param {string} Platform-specific path to a directory on the disk to * query for free available bytes. * * @return {number} The number of bytes available for the current user.