Make profile key a global handle.
This commit is contained in:
parent
7ee3435d5d
commit
e4960a1f0f
|
@ -973,6 +973,7 @@ int PROFILE_LoadWineIni(void)
|
|||
ERR("Cannot create config registry key\n" );
|
||||
return 0;
|
||||
}
|
||||
wine_profile_key = ConvertToGlobalHandle( wine_profile_key );
|
||||
|
||||
InitializeCriticalSection( &PROFILE_CritSect );
|
||||
MakeCriticalSectionGlobal( &PROFILE_CritSect );
|
||||
|
|
Loading…
Reference in New Issue