Commit b0c759a3 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Fixed OnStopBinding if it's called called after we aborted document binding.

parent 08809557
......@@ -1397,10 +1397,10 @@ static HRESULT nsChannelBSC_stop_binding(BSCallback *bsc, HRESULT result)
{
nsChannelBSC *This = nsChannelBSC_from_BSCallback(bsc);
if(result != E_ABORT) {
if(result != E_ABORT && This->is_doc_channel && This->bsc.window) {
if(FAILED(result))
handle_navigation_error(This, result);
else if(This->is_doc_channel && This->nschannel) {
else if(This->nschannel) {
result = async_stop_request(This);
if(SUCCEEDED(result))
return S_OK;
......
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