mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 14:49:27 +00:00
Release Win16Lock during PROCESS_Create.
This commit is contained in:
parent
103a2ea356
commit
85bcb2e152
|
@ -1029,9 +1029,11 @@ HINSTANCE16 WINAPI LoadModule16( LPCSTR name, LPVOID paramBlock )
|
|||
startup.wShowWindow = ((UINT16 *)PTR_SEG_TO_LIN(params->showCmd))[1];
|
||||
}
|
||||
|
||||
SYSLEVEL_ReleaseWin16Lock();
|
||||
pdb = PROCESS_Create( pModule, new_cmd_line, env,
|
||||
hInstance, hPrevInstance,
|
||||
NULL, NULL, TRUE, 0, &startup, &info );
|
||||
SYSLEVEL_RestoreWin16Lock();
|
||||
|
||||
CloseHandle( info.hThread );
|
||||
CloseHandle( info.hProcess );
|
||||
|
|
Loading…
Reference in a new issue