powered by Jive Software

[OF 4.6+/Plugins] sessionDestroyed not called for client sessions

Hello, I encountered a bug using server 4.6.0+
I have a plugin that implements SessionEventListener and adds a listener:


when the user connects, the sessionCreated method is called, but when the user disconnects and closes connections, the sessionDestroyed method is not called.
In version 4.5.4 everything worked successfully, but in 4.6.0+ it stopped.
For testing, I used clients implemented on the basis of the ‘smack-java7: 4.4.0’ library and others.

Please tell me how you can solve this problem?

Thanks for reporting this. I can easily reproduce the problem. I also seem to be the one that introduced this in version 4.6.0. I have created a new ticket to track this bug: https://igniterealtime.atlassian.net/browse/OF-2210

A fix is in the works, and should be included in the next release.