Skip to content

Commit 927df84

Browse files
authored
Fix return type for stopAllPlayers on PlayerController (#331)
1 parent 6162d45 commit 927df84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/controllers/player_controller.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ class PlayerController extends ChangeNotifier {
291291
///
292292
/// This method will close the stream and free resources taken by all
293293
/// players. This method will not dispose controller.
294-
void stopAllPlayers() async {
294+
Future<void> stopAllPlayers() async {
295295
PlatformStreams.instance.dispose();
296296
await AudioWaveformsInterface.instance.stopAllPlayers();
297297
PlatformStreams.instance.playerControllerFactory.clear();

0 commit comments

Comments
 (0)