Closed Bug 1090170 Opened 10 years ago Closed 10 years ago

WebSocketChannel is kept alive until shutdown

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36
Tracking Status
firefox35 --- fixed
firefox36 --- fixed

People

(Reporter: baku, Assigned: baku)

References

Details

Attachments

(1 file)

Attached patch crash.patchSplinter Review
No description provided.
Attachment #8512620 - Flags: review?(daniel)
Comment on attachment 8512620 [details] [diff] [review] crash.patch Review of attachment 8512620 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me, apart from this little nit on a comment! Do you have a successful try-run as well? ::: netwerk/protocol/websocket/WebSocketChannel.cpp @@ +1974,5 @@ > + {} > + > + NS_IMETHOD Run() > + { > + // Register for prefs change notifications This comment seems out of place, as this isn't registering for notifications, it actually removes the observer!
Attachment #8512620 - Flags: review?(daniel) → review+
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=4fb14a1fe22c pushed to try and comments applied. Waiting for a green result.
Do we need this on branches too?
Probably, this bug was introduced in my websocket patch for bug 939318.
Blocks: 1079385
Please ask then approval for v35 for the patch.
Comment on attachment 8512620 [details] [diff] [review] crash.patch Approval Request Comment [Feature/regressing bug #]: bug 939318 [User impact if declined]: a leak [Describe test coverage new/current, TBPL]: none because the leak disappear on shutdown. [Risks and why]: none [String/UUID change made/needed]: none
Attachment #8512620 - Flags: approval-mozilla-aurora?
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Depends on: 1090198
No longer depends on: 1090198
Attachment #8512620 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: