Closed
Bug 1301481
Opened 9 years ago
Closed 9 years ago
Don't allow double-closing of IPC channels
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
FIXED
mozilla52
| Tracking | Status | |
|---|---|---|
| firefox52 | --- | fixed |
People
(Reporter: dvander, Assigned: dvander)
Details
Attachments
(1 file)
|
3.08 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
I spent a while last night debugging something where Close() was getting called twice on a top-level protocol. It's extra boilerplate we have to roll out each time, so we should probably just move it into MessageChannel.
Any objections, Bill?
Flags: needinfo?(wmccloskey)
| Assignee | ||
Comment 1•9 years ago
|
||
Err, the boilerplate being "check that we haven't already called Close or that ActorDestroy hasn't run".
Sounds fine.
Flags: needinfo?(wmccloskey)
| Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8790577 -
Flags: review?(wmccloskey)
Attachment #8790577 -
Flags: review?(wmccloskey) → review+
Pushed by danderson@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a706f77e10af
Don't allow double-closing of IPC channels. (bug 1301481, r=billm)
Comment 5•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•