mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-05-17 17:08:11 +03:00
vrclient: Check vrclient before dlclose.
This commit is contained in:
parent
107a633b97
commit
8d19973b01
@ -344,7 +344,7 @@ static NTSTATUS vrclient_init( Params *params, bool wow64 )
|
|||||||
template< typename Params >
|
template< typename Params >
|
||||||
static NTSTATUS vrclient_unload( Params *params, bool wow64 )
|
static NTSTATUS vrclient_unload( Params *params, bool wow64 )
|
||||||
{
|
{
|
||||||
dlclose( vrclient );
|
if (vrclient) dlclose( vrclient );
|
||||||
vrclient = NULL;
|
vrclient = NULL;
|
||||||
p_HmdSystemFactory = NULL;
|
p_HmdSystemFactory = NULL;
|
||||||
p_VRClientCoreFactory = NULL;
|
p_VRClientCoreFactory = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user