mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[web] Drop noisy prints from bootstrapping logic (flutter/engine#51097)
Fixes https://github.com/flutter/flutter/issues/143976
This commit is contained in:
parent
3615c28ff8
commit
7ba403293e
@ -47,11 +47,9 @@ Future<void> bootstrapEngine({
|
||||
final FlutterLoader? loader = flutter?.loader;
|
||||
if (loader == null || loader.isAutoStart) {
|
||||
// The user does not want control of the app, bootstrap immediately.
|
||||
domWindow.console.debug('Flutter Web Bootstrap: Auto.');
|
||||
await bootstrap.autoStart();
|
||||
} else {
|
||||
// Yield control of the bootstrap procedure to the user.
|
||||
domWindow.console.debug('Flutter Web Bootstrap: Programmatic.');
|
||||
loader.didCreateEngineInitializer(bootstrap.prepareEngineInitializer());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user