mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-13 06:42:18 +00:00
fix unneccesary portable prompt window
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
1 parent
a8c3499d7b
commit
ab026d5055
3 files changed
+11
-9
No files matched your search
@@ -1274,7 +1274,7 @@ impl Connection {
|
||||
.retain(|_, v| v.0.elapsed() < SWITCH_SIDES_TIMEOUT);
|
||||
let uuid_old = SWITCH_SIDES_UUID.lock().unwrap().remove(&lr.my_id);
|
||||
if let Ok(uuid) = uuid::Uuid::from_slice(_s.uuid.to_vec().as_ref()) {
|
||||
if let Some((instant, uuid_old)) = uuid_old {
|
||||
if let Some((_instant, uuid_old)) = uuid_old {
|
||||
if uuid == uuid_old {
|
||||
self.from_switch = true;
|
||||
self.try_start_cm(lr.my_id.clone(), lr.my_name.clone(), true);
|
||||
|
||||
Reference in new issue
Block a user