Closed Bug 1301217 Opened 3 years ago Closed 3 years ago

Ensure mscom RegisteredProxy objects are aware of the apartment from which they were instantiated

Categories

(Core :: IPC, defect)

Unspecified
Windows
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: aklotz, Assigned: aklotz)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Some members of the RegisteredProxy object should be destroyed in the MTA if they were created in the MTA. Failure to do so may lead to crashes when CoUninitialize is called.
Attached patch PatchSplinter Review
This patch also implements mozilla::mscom::IsCurrentThreadMTA() for Vista and XP, since a false negative is no longer acceptable.
Attachment #8789085 - Flags: review?(jmathies)
Blocks: 1301232
Attachment #8789085 - Flags: review?(jmathies) → review+
https://hg.mozilla.org/mozilla-central/rev/94d0169e9395
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Depends on: 1302031
You need to log in before you can comment on or make changes to this bug.