--- a/sources/interface.cpp Wed Jul 20 13:21:46 2016 +0300 +++ b/sources/interface.cpp Wed Jul 20 13:25:54 2016 +0300 @@ -627,7 +627,10 @@ if (m_inputState == INPUTSTATE_CONFIRM_DISCONNECTION) { if (ch == 'y' or ch == 'Y') - disconnected(); + { + m_session.disconnect(); + m_disconnectCallback(true); + } else if (ch == 'n' or ch == 'N') set_input_state (INPUTSTATE_NORMAL);