You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings!
I began to use package on Windows and noticed that after closing the player (and disposing player controller) flutter debug console receiving multiple currentVolume Null check operator used on a null value
The reason i found at controller.dart#1025
Loosing link to timer makes it stay in memory and continue ticking. And when disposing a controller we can't stop it because link was lost. Locally i've commented this line and exception diappeared; but i'm not quite shure what's going on at that method/timer and that's why i can't pull-request such "fix".
Thank you for useful package.
The text was updated successfully, but these errors were encountered:
nikitatg
changed the title
[Windows] multiple null-check exceptions even after dispose
[Windows] multiple null-check exceptions after controller dispose
Jul 26, 2022
Greetings!
I began to use package on Windows and noticed that after closing the player (and disposing player controller) flutter debug console receiving multiple
currentVolume Null check operator used on a null value
The reason i found at controller.dart#1025
Loosing link to timer makes it stay in memory and continue ticking. And when disposing a controller we can't stop it because link was lost. Locally i've commented this line and exception diappeared; but i'm not quite shure what's going on at that method/timer and that's why i can't pull-request such "fix".
Thank you for useful package.
The text was updated successfully, but these errors were encountered: