core/src/main/java/flex/messaging/MessageClient.java [441:454]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void addMessageClientDestroyedListener(MessageClientListener listener) {
        if (listener != null) {
            checkValid();

            if (destroyedListeners == null) {
                synchronized (lock) {
                    if (destroyedListeners == null)
                        destroyedListeners = new CopyOnWriteArrayList();
                }
            }

            destroyedListeners.addIfAbsent(listener);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



core/src/main/java/flex/messaging/FlexSession.java [384:397]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void addSessionDestroyedListener(FlexSessionListener listener) {
        if (listener != null) {
            checkValid();

            if (destroyedListeners == null) {
                synchronized (lock) {
                    if (destroyedListeners == null)
                        destroyedListeners = new CopyOnWriteArrayList<FlexSessionListener>();
                }
            }

            destroyedListeners.addIfAbsent(listener);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



