mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
windows kill flutter main window when --server close (#8077)
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -565,7 +565,7 @@ fn core_main_invoke_new_connection(mut args: std::env::Args) -> Option<Vec<Strin
|
||||
{
|
||||
use winapi::um::winuser::WM_USER;
|
||||
let res = crate::platform::send_message_to_hnwd(
|
||||
"FLUTTER_RUNNER_WIN32_WINDOW",
|
||||
&crate::platform::FLUTTER_RUNNER_WIN32_WINDOW_CLASS,
|
||||
&crate::get_app_name(),
|
||||
(WM_USER + 2) as _, // referred from unilinks desktop pub
|
||||
uni_links.as_str(),
|
||||
|
||||
Reference in New Issue
Block a user