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

Issue 1006683002: Avoid race in _FileSystemWatcher if subscription closed while event queued. (Closed)

Created:
5 years, 9 months ago by Paul Berry
Modified:
5 years, 9 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Avoid race in _FileSystemWatcher if subscription closed while event queued. BUG=dartbug.com/22769 R=ajohnsen@google.com, sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=44459

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M runtime/bin/file_patch.dart View 1 chunk +4 lines, -0 lines 1 comment Download

Messages

Total messages: 6 (2 generated)
Paul Berry
5 years, 9 months ago (2015-03-12 21:45:38 UTC) #2
Anders Johnsen
LGTM! Thank you for tracking this down!
5 years, 9 months ago (2015-03-13 07:50:00 UTC) #3
Søren Gjesse
lgtm for the fix. https://codereview.chromium.org/1006683002/diff/1/runtime/bin/file_patch.dart File runtime/bin/file_patch.dart (right): https://codereview.chromium.org/1006683002/diff/1/runtime/bin/file_patch.dart#newcode196 runtime/bin/file_patch.dart:196: if (!_idMap.containsKey(pathId)) { I am ...
5 years, 9 months ago (2015-03-13 12:18:00 UTC) #5
Paul Berry
5 years, 9 months ago (2015-03-13 12:53:27 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 44459 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698