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

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2016-05-27 13:43:32 +02:00 committed by Alexandre Julliard
parent 0880955733
commit b0c759a3b9
1 changed files with 2 additions and 2 deletions

View File

@ -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;