Crash when looking for Meet components (#97)
Closed
Andrzej Wójcik (Tigase) opened 2 years ago

Library crashes when lookup for meet component fails due to disconnection before the request for component features is sent.

Andrzej Wójcik (Tigase) commented 2 years ago

I've found a possible double call to the PacketWriter::write() callback if it was called during XMPP client disconnection (once from the disconnection code and the second time from PacketWtiter::write method. I've fixed that, by moving the callback call from PacketWriter::write method to ResponseManager.CancellableEntry::cancel method which now checks if it was already canceled.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
3.1.2
Issue Votes (0)
Watchers (0)
Reference
tigase/_libraries/Martin#97
Please wait...
Page is in error, reload to recover