mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
Bug 1106938 - When OS.File stores information on calls for AsyncShutdown, also store the Task.stack. r=yoric
This commit is contained in:
parent
58a19cdf9c
commit
ac0e27511a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user