Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Error Listeners can only be disconnected once in context consumers #319

Closed
oltrep opened this issue Sep 16, 2021 · 0 comments · Fixed by #320
Closed

Error Listeners can only be disconnected once in context consumers #319

oltrep opened this issue Sep 16, 2021 · 0 comments · Fixed by #320
Labels

Comments

@oltrep
Copy link
Contributor

oltrep commented Sep 16, 2021

PR #315 uncovered that willUnmount can be called more than once in certain cases.

In some scenario, a context consumer component can have its willUnmount method called twice, which will cause this error:

ReplicatedStorage.Roact.createSignal:37: Listeners can only be disconnected once.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant