mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed timeout parameter passed through closure in WebSocketClient
This commit is contained in:
parent
5c28cca2d8
commit
be49a66717
@ -261,7 +261,7 @@ void WebSocketClient::Reconnect() {
|
||||
auto timeout = prefs->GetInt(core::prefs::keys::RemoteLibraryLatencyTimeoutMs, 5000);
|
||||
|
||||
this->SetState(State::Connecting);
|
||||
this->thread = std::make_shared<std::thread>([&]() {
|
||||
this->thread = std::make_shared<std::thread>([&, timeout]() {
|
||||
std::string uri;
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user