Some code is firing after the browser window closes

RESOLVED FIXED

Status

RESOLVED FIXED
9 years ago
7 years ago

People

(Reporter: mfinkle, Assigned: mfinkle)

Tracking

Trunk
x86
Linux

Details

Attachments

(1 attachment)

Created attachment 406231 [details] [diff] [review]
patch

When the browser window closes we can still have code firing, trying to call other code, which fails:

* Console error observer
* Idle service observer

We could add an uninit to the ConsoleView and remove the observer completely. What do you think?
Attachment #406231 - Flags: review?(gavin.sharp)
Comment on attachment 406231 [details] [diff] [review]
patch

(In reply to comment #0)
> We could add an uninit to the ConsoleView and remove the observer completely.
> What do you think?

I think I'd prefer that...
Attachment #406231 - Flags: review?(gavin.sharp) → review+
changed to uninit with explicit unregister
pushed:
https://hg.mozilla.org/mobile-browser/rev/54ce9a5b1671
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
bugspam
Assignee: nobody → mark.finkle
You need to log in before you can comment on or make changes to this bug.