mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
mshtml: Notify the Gecko stream listener that we stopped binding, if an error occurs in start_binding.
This commit is contained in:
parent
860d30eef2
commit
f6daa34857
@ -796,6 +796,8 @@ HRESULT start_binding(BSCallback *bscallback)
|
||||
hres = CreateAsyncBindCtx(0, STATUSCLB(bscallback), NULL, &bctx);
|
||||
if(FAILED(hres)) {
|
||||
WARN("CreateAsyncBindCtx failed: %08x\n", hres);
|
||||
nsIStreamListener_OnStopRequest(bscallback->nslistener, (nsIRequest*)NSCHANNEL(bscallback->nschannel),
|
||||
bscallback->nscontext, NS_OK);
|
||||
return hres;
|
||||
}
|
||||
|
||||
@ -803,6 +805,8 @@ HRESULT start_binding(BSCallback *bscallback)
|
||||
IBindCtx_Release(bctx);
|
||||
if(FAILED(hres)) {
|
||||
WARN("BindToStorage failed: %08x\n", hres);
|
||||
nsIStreamListener_OnStopRequest(bscallback->nslistener, (nsIRequest*)NSCHANNEL(bscallback->nschannel),
|
||||
bscallback->nscontext, NS_OK);
|
||||
return hres;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user