WalletConnectSwiftV2: [Crash] SDK crashes when disconnect from topic
Describe the bug When disconnecting from topic, SDK crashes sometime.
WalletConnectNetworking/NetworkingInteractor.swift:98: Fatal error: 'try!' expression unexpectedly raised an error: WalletConnectKMS.Serializer.Errors.symmetricKeyForTopicNotFound
2022-11-17 07:59:43.276879+1100 Dapper Pro[40117:9253430] WalletConnectNetworking/NetworkingInteractor.swift:98: Fatal error: 'try!' expression unexpectedly raised an error: WalletConnectKMS.Serializer.Errors.symmetricKeyForTopicNotFound
SDK Version
- Client: Swift
- Version: 1.0.5
To Reproduce Steps to reproduce the behavior:
- Go to a dApp
- Make a connection
- Disconnect from the topic
- Disconnect again from the topic
Expected behavior The pairing or session need to be removed from the list
Screenshots

Device:
- Device: iPhone12 Pro Max
- OS: iOS16
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (9 by maintainers)
if you like you can test on develop branch already