mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[flutter_tools] fix comment in resident web runner (#76724)
This commit is contained in:
parent
a30ebf67e5
commit
f7823d58da
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user