mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Fix the timeout
This commit is contained in:
@@ -443,7 +443,7 @@ void WineXdndProxy::run_xdnd_loop() {
|
|||||||
while (!drop_finished) {
|
while (!drop_finished) {
|
||||||
// In case that window somehow becomes unresponsive or disappears, we
|
// In case that window somehow becomes unresponsive or disappears, we
|
||||||
// will set a timeout here to avoid hanging
|
// will set a timeout here to avoid hanging
|
||||||
if (std::chrono::steady_clock::now() - wait_start < 5s) {
|
if (std::chrono::steady_clock::now() - wait_start > 5s) {
|
||||||
maybe_leave_last_window();
|
maybe_leave_last_window();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user