Add SessionReader and SessionWriter worker threads for session #198
+1
-1
@@ -55,7 +55,7 @@ public class SessionManager {
|
|||||||
* @param id of the client to disconnect
|
* @param id of the client to disconnect
|
||||||
*/
|
*/
|
||||||
public void disconnect(SessionId id) {
|
public void disconnect(SessionId id) {
|
||||||
SessionHandle handle = sessions.get(id);
|
SessionHandle handle = sessions.remove(id);
|
||||||
if (handle == null) {
|
if (handle == null) {
|
||||||
logger.warn(
|
logger.warn(
|
||||||
"Requested to disconnect client with id {}. Failed as client is not found",
|
"Requested to disconnect client with id {}. Failed as client is not found",
|
||||||
|
|||||||
Reference in New Issue
Block a user