Closed
Bug 491481
Opened 16 years ago
Closed 16 years ago
Status feedback should remove itself as activity listener when the main window closes.
Categories
(Thunderbird :: Mail Window Front End, defect)
Thunderbird
Mail Window Front End
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b3
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(1 file)
1.93 KB,
patch
|
Bienvenu
:
review+
|
Details | Diff | Splinter Review |
When I hooked activity manager into the status bar, I forgot that the status bar code registers itself as a listener to the activity processes and hence when we close the window it should then remove itself from the processes, not wait until the processes have finished.
Without this patch if you're sending a mail in the background and close the window we get lots of assertions and warnings about Components not being defined e.g.
************************************************************
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "'[JavaScript Error: "Components is not defined" {file: "chrome://messenger/content/mailWindow.js" line: 273}]' when calling method: [nsIActivityListener::onProgressChanged]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///Users/moztest/comm/main/tb/mozilla/dist/ShredderDebug.app/Contents/MacOS/components/nsActivity.js :: anonymous :: line 208" data: yes]
************************************************************
I've also included a couple of undefined variables fixes that I noticed in fixing this bug.
Attachment #375805 -
Flags: review?(bienvenu)
Updated•16 years ago
|
Attachment #375805 -
Flags: review?(bienvenu) → review+
Assignee | ||
Comment 1•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•