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

Issue 1175053002: Fix shutdown crash in Sky (Closed)

Created:
5 years, 6 months ago by abarth-chromium
Modified:
5 years, 6 months ago
Reviewers:
eseidel, eseidel1, Chinmay
CC:
gregsimon, jackson_old, mojo-reviews_chromium.org, qsr+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Fix shutdown crash in Sky Previously, we would try to close some Dart persistent handles after destroying the isolate. Now we revoke the weak pointers these handles are using to refer to the isolate before trying to tear them down. Fixes https://github.com/domokit/mojo/issues/233 R=chinmaygarde@google.com, eseidel@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/3711d3565f7232d145909037bdbdf2e7dbbcbfa0

Patch Set 1 #

Patch Set 2 : more idiot-proof #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -16 lines) Patch
M sky/engine/core/script/dart_controller.cc View 1 4 chunks +4 lines, -3 lines 0 comments Download
M sky/engine/core/script/dom_dart_state.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M sky/engine/tonic/dart_state.h View 1 2 chunks +3 lines, -8 lines 0 comments Download
M sky/engine/tonic/dart_state.cc View 1 1 chunk +9 lines, -5 lines 1 comment Download

Messages

Total messages: 11 (3 generated)
abarth-chromium
5 years, 6 months ago (2015-06-10 19:47:51 UTC) #1
Chinmay
lgtm
5 years, 6 months ago (2015-06-10 19:48:50 UTC) #3
eseidel
Can you make thsi more idiot proof?
5 years, 6 months ago (2015-06-10 19:50:30 UTC) #5
abarth-chromium
On 2015/06/10 at 19:50:30, eseidel wrote: > Can you make thsi more idiot proof? Done.
5 years, 6 months ago (2015-06-10 19:53:14 UTC) #6
eseidel
lgtm https://codereview.chromium.org/1175053002/diff/20001/sky/engine/tonic/dart_state.cc File sky/engine/tonic/dart_state.cc (right): https://codereview.chromium.org/1175053002/diff/20001/sky/engine/tonic/dart_state.cc#newcode38 sky/engine/tonic/dart_state.cc:38: if (isolate_) { I might have early returned ...
5 years, 6 months ago (2015-06-10 19:56:41 UTC) #8
eseidel
Edit your CL to say "closes https://github.com/domokit/mojo/issues/233" for magic to happen.
5 years, 6 months ago (2015-06-10 19:57:42 UTC) #9
eseidel
https://help.github.com/articles/closing-issues-via-commit-messages/
5 years, 6 months ago (2015-06-10 19:57:59 UTC) #10
abarth-chromium
5 years, 6 months ago (2015-06-10 19:59:11 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
3711d3565f7232d145909037bdbdf2e7dbbcbfa0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698