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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 22607005: Remove race(s) in vmservice tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index c4410a529d83ac4b73f3dec1f90f943c41e0abd8..fddab02a30ec1c786c4c97fcf0a974897655f9bf 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -827,6 +827,7 @@ DART_EXPORT void* Dart_CurrentIsolateData() {
DART_EXPORT Dart_Handle Dart_DebugName() {
Isolate* isolate = Isolate::Current();
CHECK_ISOLATE(isolate);
+ DARTSCOPE(isolate);
Ivan Posva 2013/08/07 23:33:38 DARTSCOPE does include CHECK_ISOLATE, so you can d
Cutch 2013/08/08 14:26:39 Done.
return Api::NewHandle(isolate, String::New(isolate->name()));
}

Powered by Google App Engine
This is Rietveld 408576698