We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6162d45 commit 927df84Copy full SHA for 927df84
lib/src/controllers/player_controller.dart
@@ -291,7 +291,7 @@ class PlayerController extends ChangeNotifier {
291
///
292
/// This method will close the stream and free resources taken by all
293
/// players. This method will not dispose controller.
294
- void stopAllPlayers() async {
+ Future<void> stopAllPlayers() async {
295
PlatformStreams.instance.dispose();
296
await AudioWaveformsInterface.instance.stopAllPlayers();
297
PlatformStreams.instance.playerControllerFactory.clear();
0 commit comments