issues
search
heroiclabs
/
nakama-cpp
Generic C/C++ client for Nakama server.
https://heroiclabs.com/docs/cpp-client-guide
Apache License 2.0
71
stars
25
forks
source link
refactor and fix std::promise usage in `RtClient`
#151
Closed
lugehorsam
closed
10 months ago
lugehorsam
commented
10 months ago
Use nullptr to signal whether or not a connection was made through connectAsync()
Catch
std::future_error
when setting an exception ptr on the promise object.
Make sure
_ctx
is properly reset inside the wslay adapter on error.
std::future_error
when setting an exception ptr on the promise object._ctx
is properly reset inside the wslay adapter on error.