Closed vanitasvitae closed 7 years ago
It WAS cleared properly. The issue was, that OmemoManagers of earlier tests were still existent and had stanzaListeners registered, which added their deviceIds to the list when updates were received.
I added a shutdown() method to the OmemoManager that removes all active listeners of the OmemoManager. Now it works as intended :)
deviceList node contains deviceIds of older tests despite the fact all items are deleted as well as the node itself.
Maybe this is caused by delayed PEP updates (race condition)?
Its not fatal, but its ugly to have all those exceptions in the log.