mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix, dialog button, reconnect cancel in a short time
1. Two `reconnect` is called. 2. The window cannot be closed. Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
@@ -1078,7 +1078,8 @@ pub fn session_next_rgba(session_id: SessionID) {
|
||||
pub fn session_register_texture(_session_id: SessionID, _ptr: usize) {
|
||||
#[cfg(feature = "flutter_texture_render")]
|
||||
if let Some(session) = SESSIONS.write().unwrap().get_mut(&_session_id) {
|
||||
return session.register_texture(_ptr);
|
||||
session.register_texture(_ptr);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user