mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-16 08:43:17 +08:00
[fix] prevent stale device online status
This commit is contained in:
@@ -200,6 +200,8 @@ int GuiRuntime::CreateConnectionPeer() {
|
||||
// The previous peer may have left a terminal status behind. Reset it before
|
||||
// Init() starts emitting callbacks for the newly selected server.
|
||||
signal_connected_ = false;
|
||||
device_presence_cache_.SetSignalConnected(false);
|
||||
need_to_send_recent_connections_ = true;
|
||||
signal_status_ = SignalStatus::SignalConnecting;
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user