Open Bug 1509143 Opened 1 year ago Updated 3 months ago
Consider making IProtocol implement ns
In reality, the majority of our actors are already reference counter, and implemented using hacky workarounds on top of the custom lifecycle system in IPDL. It would make implementing new actors easier & less error prone if we could move this understanding of actor lifetimes into IPDL itself, which would probably involve making IProtocol objects implement nsISupports (for AddRef and Release virtual methods). Alternatively, we could add AddRef and Release virtual methods directly on IProtocol, but it seems like it'd be cleaner to just use nsISupports for that purpose.
You need to log in before you can comment on or make changes to this bug.