Unable to disconnect for 4 seconds when triggered onAccountChanged event
dongwu-kim opened this issue · comments
Dongwu / Hugo commented
Describe the bug
It's minor, but if i try to disconnectAsync within 4_000 ms of the onAccountChanged event, the walletClient's cache is still there, preventing the state clear from happening properly. Is it known issue?
Can you verify that removeQueries()
is blowing through the cache intact?
Link to Minimal Reproducible Example
No response
Steps To Reproduce
No response
Wagmi Version
2.5.20
Viem Version
2.7.10
TypeScript Version
5.1.6
Check existing issues
- I checked there isn't already an issue for the bug I encountered.
Anything else?
No response
github-actions commented
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest wagmi version. If you have any other comments you can create a new discussion.