autobahn-cpp icon indicating copy to clipboard operation
autobahn-cpp copied to clipboard

wamp_session::stop() bug?

Open DZabavchik opened this issue 9 years ago • 0 comments

In wamp_session.ipp it supposed to be m_session_stop promise used everywhere? Looks like copy paste issue?

inline boost::future<void> wamp_session::stop()
{
...
        if (!m_transport) {
            m_session_start.set_exception(no_transport_error());
            return;
        }
...
        m_running = false;
        m_session_stop.set_value();
    });

    return m_session_stop.get_future();
}

DZabavchik avatar Mar 31 '16 22:03 DZabavchik