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

Unified Diff: runtime/vm/isolate.h

Issue 1168933002: Fixes crashes in VM isolate shutdown. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/vm/debugger_api_impl.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index e9e4a7db52b954ec6f44985303b6c347c896997a..0ea7f089c6741a3641d4a0b9bed7258d32849cd0 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -367,7 +367,10 @@ class Isolate : public BaseIsolate {
Mutex* mutex() const { return mutex_; }
- Debugger* debugger() const { return debugger_; }
+ Debugger* debugger() const {
+ ASSERT(debugger_ != NULL);
+ return debugger_;
+ }
void set_single_step(bool value) { single_step_ = value; }
bool single_step() const { return single_step_; }
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698