View | Details | Raw Unified | Return to bug 58342
Collapse All | Expand All

(-)a/java/org/apache/tomcat/websocket/WsSession.java (-3 / +2 lines)
Lines 315-327 public class WsSession implements Session { Link Here
315
            removed = true;
315
            removed = true;
316
        }
316
        }
317
317
318
        if (listener.equals(binaryMessageHandler) ||
318
        if (wrapped.equals(binaryMessageHandler) ||
319
                listener.equals(binaryMessageHandler)) {
319
                listener.equals(binaryMessageHandler)) {
320
            binaryMessageHandler = null;
320
            binaryMessageHandler = null;
321
            removed = true;
321
            removed = true;
322
        }
322
        }
323
323
324
        if (listener.equals(pongMessageHandler) ||
324
        if (wrapped.equals(pongMessageHandler) ||
325
                listener.equals(pongMessageHandler)) {
325
                listener.equals(pongMessageHandler)) {
326
            pongMessageHandler = null;
326
            pongMessageHandler = null;
327
            removed = true;
327
            removed = true;
328
- 

Return to bug 58342