mshtml: Handle aborts synchronously in nsChannelBSC_stop_binding.

This commit is contained in:
Jacek Caban 2011-05-13 18:18:12 +02:00 committed by Alexandre Julliard
parent d7a2da5730
commit af08c97bf9

View File

@ -1376,12 +1376,14 @@ static HRESULT nsChannelBSC_stop_binding(BSCallback *bsc, HRESULT result)
{ {
nsChannelBSC *This = nsChannelBSC_from_BSCallback(bsc); nsChannelBSC *This = nsChannelBSC_from_BSCallback(bsc);
if(FAILED(result)) if(result != E_ABORT) {
handle_navigation_error(This, result); if(FAILED(result))
else if(This->window) { handle_navigation_error(This, result);
result = async_stop_request(This); else if(This->window) {
if(SUCCEEDED(result)) result = async_stop_request(This);
return S_OK; if(SUCCEEDED(result))
return S_OK;
}
} }
on_stop_nsrequest(This, result); on_stop_nsrequest(This, result);