mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
fix RAIL abort when reconnect
Signed-off-by: 2fly2 <wjatchd@163.com>
This commit is contained in:
parent
8a06ed9299
commit
8f831ed324
@ -1159,6 +1159,12 @@ xfAppWindow* xf_AppWindowFromX11Window(xfContext* xfc, Window wnd)
|
|||||||
int count;
|
int count;
|
||||||
ULONG_PTR* pKeys = NULL;
|
ULONG_PTR* pKeys = NULL;
|
||||||
xfAppWindow* appWindow;
|
xfAppWindow* appWindow;
|
||||||
|
|
||||||
|
if(NULL == xfc->railWindows)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
count = HashTable_GetKeys(xfc->railWindows, &pKeys);
|
count = HashTable_GetKeys(xfc->railWindows, &pKeys);
|
||||||
|
|
||||||
for (index = 0; index < count; index++)
|
for (index = 0; index < count; index++)
|
||||||
|
Loading…
Reference in New Issue
Block a user