Index: runtime/vm/service_isolate.cc |
diff --git a/runtime/vm/service_isolate.cc b/runtime/vm/service_isolate.cc |
index 89d93b6321b6b79a8b9b29a9a490ee19d57566ec..4ac1b209f3fb9cc56660370be9cfa113989e9703 100644 |
--- a/runtime/vm/service_isolate.cc |
+++ b/runtime/vm/service_isolate.cc |
@@ -642,6 +642,8 @@ class RunServiceTask : public ThreadPool::Task { |
return; |
} |
+ isolate->RemoveTimelineEventBuffer(); |
+ |
Thread::ExitIsolate(); |
ServiceIsolate::ConstructExitMessageAndCache(isolate); |