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
Describe the bug
When i use live broadcast function on YoutubePlayerController, and pop to the previous page.
Navigator.of(context).pop();
Error
════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown while finalizing the widget tree:
A YoutubePlayerController was used after being disposed.
Once you have called dispose() on a YoutubePlayerController, it can no longer be used.
When the exception was thrown, this was the stack
#0 ChangeNotifier._debugAssertNotDisposed.<anonymous closure>
package:flutter/…/foundation/change_notifier.dart:105
#1 ChangeNotifier._debugAssertNotDisposed
package:flutter/…/foundation/change_notifier.dart:111
#2 ChangeNotifier.removeListener
package:flutter/…/foundation/change_notifier.dart:166
#3 _PlayPauseButtonState.dispose
package:youtube_player_flutter/…/widgets/play_pause_button.dart:60
#4 StatefulElement.unmount
package:flutter/…/widgets/framework.dart:4142
...
════════════════════════════════════════════════════════════════════════════════
The text was updated successfully, but these errors were encountered:
Describe the bug
When i use live broadcast function on YoutubePlayerController, and pop to the previous page.
Error
The text was updated successfully, but these errors were encountered: