Set up and tear down WLog
This commit is contained in:
parent
1b9da01612
commit
7e26c54866
@ -58,6 +58,7 @@ rdpContext* freerdp_client_context_new(RDP_CLIENT_ENTRY_POINTS* pEntryPoints)
|
|||||||
if (!pEntryPoints)
|
if (!pEntryPoints)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
WLog_Init();
|
||||||
IFCALL(pEntryPoints->GlobalInit);
|
IFCALL(pEntryPoints->GlobalInit);
|
||||||
instance = freerdp_new();
|
instance = freerdp_new();
|
||||||
|
|
||||||
@ -115,6 +116,7 @@ void freerdp_client_context_free(rdpContext* context)
|
|||||||
free(instance->pClientEntryPoints);
|
free(instance->pClientEntryPoints);
|
||||||
freerdp_free(instance);
|
freerdp_free(instance);
|
||||||
}
|
}
|
||||||
|
WLog_Uninit();
|
||||||
}
|
}
|
||||||
|
|
||||||
int freerdp_client_start(rdpContext* context)
|
int freerdp_client_start(rdpContext* context)
|
||||||
|
Loading…
Reference in New Issue
Block a user