Changeset 575 for PinConnection/CommTCPServer.pas
- Timestamp:
- Jun 25, 2024, 11:56:51 AM (4 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/CommTCPServer.pas
r574 r575 1 unit UCommTCPServer; 2 3 {$mode Delphi}{$H+} 1 unit CommTCPServer; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, blcksock, synsock, UCommPin, UCommon, UThreading,6 Classes, SysUtils, blcksock, synsock, CommPin, Common, Threading, 9 7 DateUtils, SpecializedList; 10 8 … … 64 62 end; 65 63 64 66 65 implementation 67 66 … … 92 91 destructor TCommTCPServerSession.Destroy; 93 92 begin 94 Pin.Free;95 Socket.Free;96 inherited Destroy;93 FreeAndNil(Pin); 94 FreeAndNil(Socket); 95 inherited; 97 96 end; 98 97 … … 161 160 destructor TCommSocketReceiveThread.Destroy; 162 161 begin 163 Stream.Free;164 inherited Destroy;162 FreeAndNil(Stream); 163 inherited; 165 164 end; 166 165 … … 200 199 begin 201 200 Active := False; 202 Socket.Free;203 Sessions.Free;204 inherited Destroy;201 FreeAndNil(Socket); 202 FreeAndNil(Sessions); 203 inherited; 205 204 end; 206 205
Note:
See TracChangeset
for help on using the changeset viewer.