Closed
Bug 1685230
Opened 3 years ago
Closed 3 years ago
No autorelease pool during XRE_mainInit and XRE_mainStartup
Categories
(Core :: Widget: Cocoa, defect)
Core
Widget: Cocoa
Tracking
()
RESOLVED
FIXED
86 Branch
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(2 files)
XRE_mainInit
calls DisableAppNap
which creates autoreleased objects, and currently \ those objects are leaked because no autorelease pool is in place.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Summary: No autorelease pool during XRE_mainInit → No autorelease pool during XRE_mainInit and XRE_mainStartup
Assignee | ||
Comment 2•3 years ago
|
||
For example, NS_CreateNativeAppSupport creates autoreleased objects.
Depends on D100851
Updated•3 years ago
|
Attachment #9195540 -
Attachment description: Bug 1685230 - Add an autorelease pool in XRE_mainInit for DisableAppNap and for anything that happens in the rest of the funciton. r=jrmuizel → Bug 1685230 - Add an autorelease pool in XRE_mainInit for DisableAppNap and for anything that happens in the rest of the function. r=jrmuizel
Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/12344b444efd Add an autorelease pool in XRE_mainInit for DisableAppNap and for anything that happens in the rest of the function. r=jrmuizel https://hg.mozilla.org/integration/autoland/rev/17243102143b Add an autorelease pool in XRE_mainStartup. r=jrmuizel
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/12344b444efd
https://hg.mozilla.org/mozilla-central/rev/17243102143b
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•