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

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
« no previous file with comments | « runtime/bin/vmservice_impl.cc ('k') | tests/standalone/vmservice/isolate_stacktrace_command_script.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..329934035100b9dd4f6ceee654ef7eaa8ef1a68e 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -826,7 +826,7 @@ DART_EXPORT void* Dart_CurrentIsolateData() {
DART_EXPORT Dart_Handle Dart_DebugName() {
Isolate* isolate = Isolate::Current();
- CHECK_ISOLATE(isolate);
+ DARTSCOPE(isolate);
return Api::NewHandle(isolate, String::New(isolate->name()));
}
« no previous file with comments | « runtime/bin/vmservice_impl.cc ('k') | tests/standalone/vmservice/isolate_stacktrace_command_script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698