mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Ensure RemoteLibrary disconnects the underlying websocket when it's
closed.
This commit is contained in:
parent
f936d21479
commit
ad3ee46a52
@ -116,6 +116,8 @@ const std::string& RemoteLibrary::Name() {
|
||||
}
|
||||
|
||||
void RemoteLibrary::Close() {
|
||||
this->wsc.Disconnect();
|
||||
|
||||
std::thread* thread = nullptr;
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user