Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pryan committed Oct 23, 2019
1 parent b9472a0 commit fbe0a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebUser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void LocalWebUser::Send(std::string message)
void LocalWebUser::Close()
{
boost::system::error_code ignored_error;
LocalWebUser::Exit();
Exit();
Socket.next_layer().next_layer().cancel(ignored_error);
Socket.next_layer().next_layer().shutdown(boost::asio::ip::tcp::socket::shutdown_both, ignored_error);
}
Expand Down

0 comments on commit fbe0a85

Please sign in to comment.