@ Override public Collection < String > removeSessionToTopics ( Session session ) { if ( session != null ) { return removeSessionsToTopic ( Arrays . asList ( session ) ) ; // for (String topic : map.keySet()) { // sendSubscriptionEvent(Constants.Topic.SUBSCRIBERS + Constants.Topic.COLON + topic, unregisterTopicSession(topic, session)); // } } return Collections . EMPTY_LIST ; }
Remove session cause it s closed by the endpoint