Closed
Bug 1267214
Opened 8 years ago
Closed 8 years ago
Private DBus connections must be closed before final unref
Categories
(Core :: IPC, defect)
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: tzimmermann, Assigned: tzimmermann)
References
Details
(Whiteboard: btpp-active)
Attachments
(2 files)
2.68 KB,
patch
|
shawnjohnjr
:
review+
|
Details | Diff | Splinter Review |
2.01 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Private connection over DBus must be closed by the caller. We can do that automatically with |UniquePtr|.
Assignee | ||
Comment 1•8 years ago
|
||
Hi Shawn, with this type |UniquePtr| can manage instances of |DBusConnection|.
Attachment #8744867 -
Flags: review?(shuang)
Assignee | ||
Comment 2•8 years ago
|
||
This is a follow-up patch to bug 1266033. It makes sure that the DBus connection is closed correctly before the data structure goes out of scope. Have a look at bug 1266705 comment 2 and below for some context.
Attachment #8744868 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Thomas Zimmermann [:tzimmermann] [:tdz] from comment #2) > Created attachment 8744868 [details] [diff] [review] > [02] Bug 1267214: Close private DBus connection in > |nsDBusHandlerApp::LaunchWithURI| > > This is a follow-up patch to bug 1266033. It makes sure that the DBus > connection is closed correctly before the data structure goes out of scope. > Have a look at bug 1266705 comment 2 and below for some context. Is there an easy way of testing this?
Updated•8 years ago
|
Whiteboard: btpp-active
Comment 4•8 years ago
|
||
Comment on attachment 8744868 [details] [diff] [review] [02] Bug 1267214: Close private DBus connection in |nsDBusHandlerApp::LaunchWithURI| r=me
Attachment #8744868 -
Flags: review?(bzbarsky) → review+
Attachment #8744867 -
Flags: review?(shuang) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/58318cd3faec https://hg.mozilla.org/integration/mozilla-inbound/rev/b97e26486559
Assignee | ||
Comment 6•8 years ago
|
||
Thank you! https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=b97e26486559
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/58318cd3faec https://hg.mozilla.org/mozilla-central/rev/b97e26486559
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•