| Index: runtime/bin/vmservice/client/lib/src/elements/heap_profile.dart
|
| diff --git a/runtime/bin/vmservice/client/lib/src/elements/heap_profile.dart b/runtime/bin/vmservice/client/lib/src/elements/heap_profile.dart
|
| index cc9c8fe0209d08c0e8c7f5018f1ebf982ce0b68d..cd64321d4fdae122604ec370dd5f136be3373435 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/elements/heap_profile.dart
|
| +++ b/runtime/bin/vmservice/client/lib/src/elements/heap_profile.dart
|
| @@ -241,7 +241,8 @@ class HeapProfileElement extends ObservatoryElement {
|
| if (profile == null) {
|
| return;
|
| }
|
| - profile.isolate.get('/allocationprofile/reset').then((ServiceMap response) {
|
| + var isolate = profile.isolate;
|
| + isolate.get('/allocationprofile?reset=true').then((ServiceMap response) {
|
| assert(response['type'] == 'AllocationProfile');
|
| profile = response;
|
| }).catchError((e, st) {
|
|
|