mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 263103 - Delay being "initialized" until post-window display to prevent us stopping without a UI shown.
JavaScript Debugger only. r=rginda
This commit is contained in:
parent
cd89107e7e
commit
425785ced5
@ -578,7 +578,8 @@ function init()
|
||||
MT_WARN);
|
||||
}
|
||||
|
||||
console.initialized = true;
|
||||
// Delay being "done" until the window is up.
|
||||
setTimeout(initPost, 100);
|
||||
|
||||
if (console.prefs["saveSettingsOnExit"])
|
||||
{
|
||||
@ -591,6 +592,11 @@ function init()
|
||||
dd ("}");
|
||||
}
|
||||
|
||||
function initPost()
|
||||
{
|
||||
console.initialized = true;
|
||||
}
|
||||
|
||||
function destroy ()
|
||||
{
|
||||
if (console.prefs["saveLayoutOnExit"])
|
||||
|
Loading…
Reference in New Issue
Block a user