Unverified Commit f7823d58 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] fix comment in resident web runner (#76724)

parent a30ebf67
......@@ -812,7 +812,9 @@ class _ResidentWebRunner extends ResidentWebRunner {
setHttpAddress(_httpUriFromWebsocketUri(websocketUri), device.vmService);
setWsAddress(websocketUri, device.vmService);
// Always run main after connecting because start paused doesn't work yet.
// Run main immediately if the app is not started paused or if there
// is no debugger attached. Otherwise, runMain when a resume event
// is received.
if (!debuggingOptions.startPaused || !supportsServiceProtocol) {
_connectionResult.appConnection.runMain();
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment