From 38ed0bee7977303c2f7d3b17cfb2bc609cfb50cc Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Wed, 25 Sep 2013 14:42:53 -0700 Subject: [PATCH] Update version number to 0.13.0-rc2 --- src/ripple_app/websocket/WSConnection.h | 13 +++++-------- src/ripple_data/protocol/BuildInfo.cpp | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/ripple_app/websocket/WSConnection.h b/src/ripple_app/websocket/WSConnection.h index 8c2f12c68..101139ab3 100644 --- a/src/ripple_app/websocket/WSConnection.h +++ b/src/ripple_app/websocket/WSConnection.h @@ -124,17 +124,14 @@ public: void disconnect () { connection_ptr ptr = m_connection.lock (); - - if (ptr) - { - m_io_service.dispatch (ptr->get_strand ().wrap (boost::bind ( - &WSConnectionType ::handle_disconnect, m_connection))); - } + m_io_service.dispatch (ptr->get_strand ().wrap (boost::bind ( + &WSConnectionType ::handle_disconnect, + m_connection))); } - void handle_disconnect() + static void handle_disconnect(weak_connection_ptr c) { - connection_ptr ptr = m_connection.lock (); + connection_ptr ptr = c.lock (); if (ptr) ptr->close (websocketpp::close::status::PROTOCOL_ERROR, "overload"); diff --git a/src/ripple_data/protocol/BuildInfo.cpp b/src/ripple_data/protocol/BuildInfo.cpp index 9059d889d..859319147 100644 --- a/src/ripple_data/protocol/BuildInfo.cpp +++ b/src/ripple_data/protocol/BuildInfo.cpp @@ -12,7 +12,7 @@ char const* BuildInfo::getRawVersionString () // // The build version number (edit this for each release) // - "0.13.0-rc1" + "0.13.0-rc2" // // Must follow the format described here: //