change timeout for waiting hwnd
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
37d21d8db0
commit
fdeb38fee7
@ -245,7 +245,7 @@ pub fn start() -> ResultType<()> {
|
|||||||
wnd_handlers.hthread = proc_info.hThread as _;
|
wnd_handlers.hthread = proc_info.hThread as _;
|
||||||
wnd_handlers.hprocess = proc_info.hProcess as _;
|
wnd_handlers.hprocess = proc_info.hProcess as _;
|
||||||
|
|
||||||
let hwnd = wait_find_privacy_hwnd(30_000)?;
|
let hwnd = wait_find_privacy_hwnd(1_000)?;
|
||||||
if hwnd.is_null() {
|
if hwnd.is_null() {
|
||||||
bail!("Failed to get hwnd after started");
|
bail!("Failed to get hwnd after started");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user