| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of observatory; | 5 part of observatory; |
| 6 | 6 |
| 7 /// Collection of isolates which are running in the VM. Updated | 7 /// Collection of isolates which are running in the VM. Updated |
| 8 class IsolateManager extends ObservableMixin { | 8 class IsolateManager extends ObservableMixin { |
| 9 ObservatoryApplication _application; | 9 ObservatoryApplication _application; |
| 10 ObservatoryApplication get application => _application; | 10 ObservatoryApplication get application => _application; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 var id = k['id']; | 42 var id = k['id']; |
| 43 var name = k['name']; | 43 var name = k['name']; |
| 44 if (isolates[id] == null) { | 44 if (isolates[id] == null) { |
| 45 var isolate = new Isolate(id, name); | 45 var isolate = new Isolate(id, name); |
| 46 print('Adding $isolate'); | 46 print('Adding $isolate'); |
| 47 isolates[id] = isolate; | 47 isolates[id] = isolate; |
| 48 } | 48 } |
| 49 }); | 49 }); |
| 50 } | 50 } |
| 51 } | 51 } |
| OLD | NEW |