Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A FlTouchInputNotifier was used after being disposed. #94

Closed
hsj86715 opened this issue Oct 24, 2019 · 6 comments
Closed

A FlTouchInputNotifier was used after being disposed. #94

hsj86715 opened this issue Oct 24, 2019 · 6 comments
Labels
bug Something isn't working

Comments

@hsj86715
Copy link

E/flutter (19034): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: A FlTouchInputNotifier was used after being disposed.
E/flutter (19034): Once you have called dispose() on a FlTouchInputNotifier, it can no longer be used.
E/flutter (19034): #0 ChangeNotifier._debugAssertNotDisposed. (package:flutter/src/foundation/change_notifier.dart:105:9)
E/flutter (19034): #1 ChangeNotifier._debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:111:6)
E/flutter (19034): #2 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:200:12)
E/flutter (19034): #3 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:273:5)
E/flutter (19034): #4 _FlChartState._releaseTouch. (package:fl_chart/fl_chart.dart:121:27)
E/flutter (19034): #5 _rootRunUnary (dart:async/zone.dart:1132:38)
E/flutter (19034): #6 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
E/flutter (19034): #7 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
E/flutter (19034): #8 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
E/flutter (19034): #9 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
E/flutter (19034): #10 Future._complete (dart:async/future_impl.dart:512:7)
E/flutter (19034): #11 new Future.delayed. (dart:async/future.dart:313:16)
E/flutter (19034): #12 _rootRun (dart:async/zone.dart:1120:38)
E/flutter (19034): #13 _CustomZone.run (dart:async/zone.dart:1021:19)
E/flutter (19034): #14 _CustomZone.runGuarded (dart:async/zone.dart:923:7)
E/flutter (19034): #15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23)
E/flutter (19034): #16 _rootRun (dart:async/zone.dart:1124:13)
E/flutter (19034): #17 _CustomZone.run (dart:async/zone.dart:1021:19)
E/flutter (19034): #18 _CustomZone.bindCallback. (dart:async/zone.dart:947:23)
E/flutter (19034): #19 Timer._createTimer. (dart:async-patch/timer_patch.dart:21:15)
E/flutter (19034): #20 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19)
E/flutter (19034): #21 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
E/flutter (19034): #22 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

@hsj86715
Copy link
Author

hsj86715 commented Oct 24, 2019

Add the FlChart as content of a List item, then touch scroll the screen up and down, this happened.

@imaNNeo
Copy link
Owner

imaNNeo commented Oct 25, 2019

Shitt, Thanks for reporting.

@imaNNeo imaNNeo added the bug Something isn't working label Oct 25, 2019
@imaNNeo
Copy link
Owner

imaNNeo commented Oct 25, 2019

I couldn't reproduce it, may I ask you to prepare a video shot?

@imaNNeo
Copy link
Owner

imaNNeo commented Oct 25, 2019

Or maybe a sample code

@imaNNeo
Copy link
Owner

imaNNeo commented Oct 29, 2019

Heloooo?

@imaNNeo imaNNeo closed this as completed Nov 1, 2019
@hsj86715
Copy link
Author

this no longer happened in new version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants