Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

fix races associated with unawaited futures#32593

Merged
yjbanov merged 1 commit intoflutter:mainfrom
yjbanov:fix-test-init-race
Apr 12, 2022
Merged

fix races associated with unawaited futures#32593
yjbanov merged 1 commit intoflutter:mainfrom
yjbanov:fix-test-init-race

Conversation

@yjbanov
Copy link
Contributor

@yjbanov yjbanov commented Apr 11, 2022

Enable unawaited_futures lint for all web engine code, and fix code that's been ignoring the futures. In particular, this should fix test flakiness on Firefox, such as this.

@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label Apr 11, 2022
@yjbanov yjbanov merged commit 28b1025 into flutter:main Apr 12, 2022
if (missingCodeUnits.isNotEmpty || unmatchedCodeUnits.isNotEmpty) {
if (!data.registeredSymbolsAndEmoji) {
_registerSymbolsAndEmoji();
await _registerSymbolsAndEmoji();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a fix for 10s of emoji-related issues :P

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

platform-web Code specifically for the web engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants