Commit 85bcb2e1 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Release Win16Lock during PROCESS_Create.

parent 103a2ea3
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment