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

Unified Diff: runtime/bin/vmservice/observatory/lib/src/app/application.dart

Issue 608593005: Fix handling of VM reconnect (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/bin/vmservice/observatory/lib/src/app/application.dart
diff --git a/runtime/bin/vmservice/observatory/lib/src/app/application.dart b/runtime/bin/vmservice/observatory/lib/src/app/application.dart
index a848c35ee4dd8ab52e41c9441045d2fe81ffbcbe..1dc4abadea6502612e2d63951571d9b50e1990e6 100644
--- a/runtime/bin/vmservice/observatory/lib/src/app/application.dart
+++ b/runtime/bin/vmservice/observatory/lib/src/app/application.dart
@@ -119,6 +119,7 @@ class ObservatoryApplication extends Observable {
lastErrorOrException = exception;
if (exception.kind == 'NetworkException') {
// Got a network exception, visit the vm-connect page.
+ this.vm = null;
locationManager.go(locationManager.makeLink('/vm-connect/'));
} else {
_visit('error/', null);

Powered by Google App Engine
This is Rietveld 408576698