Skip to content

Commit

Permalink
Remove linux workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustl22 committed Jan 18, 2024
1 parent 4635937 commit 2016b44
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ extension LibWidgetTester on WidgetTester {
Duration? duration,
EnginePhase phase = EnginePhase.sendSemanticsUpdate,
]) async {
if (!kIsWeb && defaultTargetPlatform == TargetPlatform.linux) {
// FIXME(1556): Pump on Linux doesn't work with GStreamer bus callback
await Future.delayed(duration ?? Duration.zero);
} else {
await pump(duration, phase);
}
await pump(duration, phase);
}

/// See [pumpFrames].
Expand Down

0 comments on commit 2016b44

Please sign in to comment.