ukasz123 / soundpool

Soundpool plugin for Flutter
88 stars 63 forks source link

Change return type of dispose to Future<void> #101

Closed kolotum closed 9 months ago

kolotum commented 2 years ago

Change dispose return type to Future<void> so the dispose call of _platformInstance can be awaited.

ukasz123 commented 10 months ago

@kolotum I see no reason the call to platform interface should be awaited. After calling dispose the instance of Soundpool must not be used anyway.