eidheim / Simple-WebSocket-Server

A very simple, fast, multithreaded, platform independent WebSocket (WS) and WebSocket Secure (WSS) server and client library implemented using C++11, Boost.Asio and OpenSSL. Created to be an easy way to make WebSocket endpoints in C++.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to stop the server?

Athius opened this issue · comments

Hello,

I try to stop the server when a client send a special command.
I tried to do this using the stop() method inside the on_command. The server is stopped but I have this error:
libc++abi.dylib: terminating
The program has unexpectedly finished.

Does anyone has the same error?

For information I take the last release (2.0.0.rc2) on Mac OS X 10.12.6 with Apple's clang.

You probably have not joined a thread.

Thank you so much! It was this mistake effectively!

Glad to hear!