commit | 125889b6e094be7659f9f448027e79029dcfa890 | [log] [tgz] |
---|---|---|
author | Stefan Seelmann <mail@stefan-seelmann.de> | Sun May 26 22:52:44 2019 +0200 |
committer | Stefan Seelmann <mail@stefan-seelmann.de> | Sun May 26 22:52:44 2019 +0200 |
tree | 46f07dfa39fc8e99438f290d7a627647d0e07cae | |
parent | 895607e96f14c8f7371b4996f8340af12decd2c9 [diff] |
DIRAPI-342: Unbind/close breaks connection * Fix race condition in `sessionClosed()` callback: make synchronized and check if same session is closed * Fix race condition in `setCloseListener()` callback: make synchronized and check if same session is closed * Move duplicated code from `unbind()` and `sessionClosed()` to `close()` * Remove `connected` flag, use information from session instead * Remove no longer required lock * Reuse isConnected() method where possible