private void addCloseListener(@NotNull final RemoteDebugger debugger) { debugger.addCloseListener( new RemoteDebuggerCloseListener() { @Override public void closed() { notifyThreadsClosed(debugger); } @Override public void communicationError() { notifyThreadsClosed(debugger); } @Override public void detached() { notifyThreadsClosed(debugger); } }); }
public void addCloseListener(RemoteDebuggerCloseListener listener) { myMainDebugger.addCloseListener(listener); }