inetcomm: Use InternetTransport_ChangeStatus in InternetTransport_DropConnection so that the callback gets called.
This commit is contained in:
parent
a3a2789f66
commit
cef74e263f
@ -171,13 +171,13 @@ HRESULT InternetTransport_DropConnection(InternetTransport *This)
|
|||||||
|
|
||||||
ret = shutdown(This->Socket, SD_BOTH);
|
ret = shutdown(This->Socket, SD_BOTH);
|
||||||
|
|
||||||
This->Status = IXP_DISCONNECTED;
|
|
||||||
|
|
||||||
ret = closesocket(This->Socket);
|
ret = closesocket(This->Socket);
|
||||||
|
|
||||||
DestroyWindow(This->hwnd);
|
DestroyWindow(This->hwnd);
|
||||||
This->hwnd = NULL;
|
This->hwnd = NULL;
|
||||||
|
|
||||||
|
InternetTransport_ChangeStatus(This, IXP_DISCONNECTED);
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user