Closed Bug 554829 Opened 14 years ago Closed 14 years ago

Null out mozilla::jsipc::ObjectWrapperParent::mObj in ActorDestroy and CPOW_Finalize

Categories

(Core :: IPC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mozilla+ben, Assigned: mozilla+ben)

References

Details

Attachments

(1 file)

Since ObjectWrapperParent::mObj is deliberately not rooted by the wrapper, the wrapper could conceivably outlive it.  This patch prevents mObj from becoming a dangling JSObject pointer.
Attachment #434761 - Flags: review?(Olli.Pettay)
Attachment #434761 - Flags: review?(Olli.Pettay) → review+
Pushed to projects/electrolysis:
http://hg.mozilla.org/projects/electrolysis/rev/e55279f011c5
Status: ASSIGNED → 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: