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);
|
||||
|
||||
This->Status = IXP_DISCONNECTED;
|
||||
|
||||
ret = closesocket(This->Socket);
|
||||
|
||||
DestroyWindow(This->hwnd);
|
||||
This->hwnd = NULL;
|
||||
|
||||
InternetTransport_ChangeStatus(This, IXP_DISCONNECTED);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue