mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Dart invokes Start/StopTracing callbacks within the _setVMTimelineFlags service method whenever the embedder timeline stream toggles on or off. Flutter's implementation of these callbacks was modifying the set of enabled streams, which could override the intended behavior of _setVMTimelineFlags. Start/StopTracing will now only control Flutter's embedder-specific log. Also needed to change the Flutter engine's --trace-startup flag to set the corresponding timeline stream flag on the Dart VM.