Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Issue 1673803002: Child thread attachment broker should never be destroyed. (Closed)

Created:
4 years, 10 months ago by erikchen
Modified:
4 years, 10 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Child thread attachment broker should never be destroyed. The attachment broker needs to last as long as the longest lived IPC::Channel. There's no harm in leaking the object, so just prevent it from ever being destroyed. BUG=584297

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M content/child/child_thread_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/child/child_thread_impl.cc View 1 chunk +3 lines, -2 lines 1 comment Download

Messages

Total messages: 9 (4 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1673803002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1673803002/1
4 years, 10 months ago (2016-02-05 21:37:39 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-05 23:06:30 UTC) #4
erikchen
avi: Please review.
4 years, 10 months ago (2016-02-06 01:00:42 UTC) #6
Avi (use Gerrit)
https://codereview.chromium.org/1673803002/diff/1/content/child/child_thread_impl.cc File content/child/child_thread_impl.cc (right): https://codereview.chromium.org/1673803002/diff/1/content/child/child_thread_impl.cc#newcode374 content/child/child_thread_impl.cc:374: // Intentionally leak the attachment broker so that it ...
4 years, 10 months ago (2016-02-06 07:03:40 UTC) #7
erikchen
4 years, 10 months ago (2016-02-09 02:39:14 UTC) #8
On 2016/02/06 07:03:40, Avi wrote:
>
https://codereview.chromium.org/1673803002/diff/1/content/child/child_thread_...
> File content/child/child_thread_impl.cc (right):
> 
>
https://codereview.chromium.org/1673803002/diff/1/content/child/child_thread_...
> content/child/child_thread_impl.cc:374: // Intentionally leak the attachment
> broker so that it is never destroyed.
> Mention _why_ you leak it, not just that you do.

closing this CL. cleaner CL on it's way:
https://codereview.chromium.org/1679763002/

Powered by Google App Engine
This is Rietveld 408576698