Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Stop animation bug #74

Open
samuelobe opened this issue Feb 16, 2021 · 0 comments
Open

Stop animation bug #74

samuelobe opened this issue Feb 16, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@samuelobe
Copy link
Contributor

After disconnecting from networking services, the AnimationController runs into the following error:

════════ Exception caught by animation library ═════════════════════════════════
The following StateError was thrown while notifying listeners for AnimationController:
Bad state: Cannot add new events after calling close

When the exception was thrown, this was the stack
#2 MapState.emitMapEvent
package:flutter_map/…/map/map.dart:223
#3 MapState._handleMoveEmit
package:flutter_map/…/map/map.dart:209
#4 MapState.move
package:flutter_map/…/map/map.dart:303
#5 MapControllerImpl.move
package:flutter_map/…/map/map.dart:41
#6 _MapPageState._animatedMapMove.
package:flutter_shuttletracker/…/map_page/map_page.dart:54
...
The AnimationController notifying listeners was: AnimationController#6f6c7(▶ 0.067)
════════════════════════════════════════════════════════════════════════════════

@samuelobe samuelobe self-assigned this Feb 16, 2021
@samuelobe samuelobe added the bug Something isn't working label Feb 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant