inetcomm: Use InternetTransport_ChangeStatus in InternetTransport_DropConnection so that the callback gets called.

This commit is contained in:
Rob Shearman 2007-11-02 11:42:52 +00:00 committed by Alexandre Julliard
parent a3a2789f66
commit cef74e263f
1 changed files with 2 additions and 2 deletions

View File

@ -171,13 +171,13 @@ HRESULT InternetTransport_DropConnection(InternetTransport *This)
ret = shutdown(This->Socket, SD_BOTH);
This->Status = IXP_DISCONNECTED;
ret = closesocket(This->Socket);
DestroyWindow(This->hwnd);
This->hwnd = NULL;
InternetTransport_ChangeStatus(This, IXP_DISCONNECTED);
return S_OK;
}