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

Issue 282823003: Mojo: cancel pending AsyncWait calls when the callers thread exits (Closed)

Created:
6 years, 7 months ago by darin (slow to review)
Modified:
6 years, 7 months ago
Reviewers:
sky, viettrungluu
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Visibility:
Public.

Description

Mojo: cancel pending AsyncWait calls when the callers thread exits This should resolve some memory leak issues. BUG=372487 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270639

Patch Set 1 #

Patch Set 2 : hacking #

Patch Set 3 : for realz #

Patch Set 4 : whitespace fix #

Total comments: 4

Patch Set 5 : fix build error: struct -> class #

Patch Set 6 : revisions per review feedback #

Patch Set 7 : passify clang #

Patch Set 8 : Fix crash: Environment must outlive MessageLoop #

Patch Set 9 : env first #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -57 lines) Patch
M mojo/apps/js/test/js_to_cpp_unittest.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M mojo/common/handle_watcher.h View 1 2 3 4 2 chunks +5 lines, -6 lines 0 comments Download
M mojo/common/handle_watcher.cc View 1 2 3 4 5 6 3 chunks +44 lines, -41 lines 0 comments Download
M mojo/common/handle_watcher_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +31 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
darin (slow to review)
OK, this is ready for review.
6 years, 7 months ago (2014-05-13 20:44:20 UTC) #1
darin (slow to review)
+trung -- please review my choice of synthetic MojoResult value. Thanks!
6 years, 7 months ago (2014-05-13 20:45:27 UTC) #2
sky
LGTM https://codereview.chromium.org/282823003/diff/60001/mojo/common/handle_watcher.cc File mojo/common/handle_watcher.cc (right): https://codereview.chromium.org/282823003/diff/60001/mojo/common/handle_watcher.cc#newcode263 mojo/common/handle_watcher.cc:263: explicit State(HandleWatcher* watcher, nit: no explicit https://codereview.chromium.org/282823003/diff/60001/mojo/common/handle_watcher.cc#newcode305 mojo/common/handle_watcher.cc:305: ...
6 years, 7 months ago (2014-05-13 21:22:41 UTC) #3
viettrungluu
On 2014/05/13 20:45:27, darin wrote: > +trung -- please review my choice of synthetic MojoResult ...
6 years, 7 months ago (2014-05-13 21:48:48 UTC) #4
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-13 21:53:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/282823003/100001
6 years, 7 months ago (2014-05-13 22:05:08 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 01:41:29 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 01:47:07 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/142187)
6 years, 7 months ago (2014-05-14 01:47:07 UTC) #9
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-14 23:37:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/282823003/120001
6 years, 7 months ago (2014-05-14 23:37:22 UTC) #11
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-15 03:33:36 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/282823003/140001
6 years, 7 months ago (2014-05-15 03:35:24 UTC) #13
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-15 05:37:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/282823003/160001
6 years, 7 months ago (2014-05-15 05:39:43 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 07:27:10 UTC) #16
commit-bot: I haz the power
6 years, 7 months ago (2014-05-15 08:30:58 UTC) #17
Message was sent while issue was closed.
Change committed as 270639

Powered by Google App Engine
This is Rietveld 408576698