mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 13:29:21 +02:00
The disconnect event is now called once instead of three.
This commit is contained in:
parent
ea345f34aa
commit
045472a5e7
@ -1297,8 +1297,6 @@ end;
|
|||||||
procedure TWSConnection.Disconnect;
|
procedure TWSConnection.Disconnect;
|
||||||
begin
|
begin
|
||||||
DoDisconnect;
|
DoDisconnect;
|
||||||
if Assigned(FOnDisconnect) then
|
|
||||||
FOnDisconnect(Self);
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TWSConnection.Close(aData: TBytes);
|
procedure TWSConnection.Close(aData: TBytes);
|
||||||
|
Loading…
Reference in New Issue
Block a user