mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 16:43:38 +00:00
urlmon: LockModule in create_binding_protocol as we ReleaseModule when the object is released.
This commit is contained in:
parent
414ddfa671
commit
f5ed5a7f48
|
@ -493,6 +493,8 @@ HRESULT create_binding_protocol(LPCWSTR url, IInternetProtocol **protocol)
|
|||
ret->protocol_sink = NULL;
|
||||
ret->priority = 0;
|
||||
|
||||
URLMON_LockModule();
|
||||
|
||||
*protocol = PROTOCOL(ret);
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue