mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-05-17 08:58:06 +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 >
|
||||
static NTSTATUS vrclient_unload( Params *params, bool wow64 )
|
||||
{
|
||||
dlclose( vrclient );
|
||||
if (vrclient) dlclose( vrclient );
|
||||
vrclient = NULL;
|
||||
p_HmdSystemFactory = NULL;
|
||||
p_VRClientCoreFactory = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user