mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Фикс синхронизации в LegacyRequestBridge
This commit is contained in:
parent
0d804a0558
commit
9adf69932c
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,10 @@ public static ResultInterface sendRequest(RequestInterface request) throws IOExc
|
|||
service.sendObject(request);
|
||||
while(!e.ready)
|
||||
{
|
||||
e.wait();
|
||||
synchronized(e)
|
||||
{
|
||||
e.wait();
|
||||
}
|
||||
}
|
||||
ResultInterface result = e.result;
|
||||
waitEventHandler.requests.remove(e);
|
||||
|
|
Loading…
Reference in a new issue