Ensure RemoteLibrary disconnects the underlying websocket when it's

closed.
This commit is contained in:
casey langen 2020-10-08 00:14:56 -07:00
parent f936d21479
commit ad3ee46a52

View File

@ -116,6 +116,8 @@ const std::string& RemoteLibrary::Name() {
}
void RemoteLibrary::Close() {
this->wsc.Disconnect();
std::thread* thread = nullptr;
{