Closed Bug 559180 Opened 14 years ago Closed 14 years ago

autoreleased Cocoa objects leaked during shutdown

Categories

(Core :: Widget: Cocoa, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

During shutdown, Cocoa methods are called after the event loop has finished, so the main autorelease pool is no longer in place. As a result, these methods leak numerous objects (around 300+) that are autoreleased internally by Cocoa.
Attachment #438846 - Flags: review?(joshmoz)
Updated; one of the added pools was redundant. (Sorry for the bugspam!)
Attachment #438846 - Attachment is obsolete: true
Attachment #438847 - Flags: review?(joshmoz)
Attachment #438846 - Flags: review?(joshmoz)
Attachment #438847 - Flags: review?(joshmoz) → review+
http://hg.mozilla.org/mozilla-central/rev/a8fd7c7e46ac
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: