Release Win16Lock during PROCESS_Create.

This commit is contained in:
Ulrich Weigand 1999-06-12 06:41:16 +00:00 committed by Alexandre Julliard
parent 103a2ea356
commit 85bcb2e152

View file

@ -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 );