Ignore:
Timestamp:
Jun 25, 2024, 11:56:51 AM (3 months ago)
Author:
chronos
Message:
  • Modified: Remove U prefix from unit names of PinConnection package.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • PinConnection/CommTCPServer.pas

    r574 r575  
    1 unit UCommTCPServer;
    2 
    3 {$mode Delphi}{$H+}
     1unit CommTCPServer;
    42
    53interface
    64
    75uses
    8   Classes, SysUtils, blcksock, synsock, UCommPin, UCommon, UThreading,
     6  Classes, SysUtils, blcksock, synsock, CommPin, Common, Threading,
    97  DateUtils, SpecializedList;
    108
     
    6462  end;
    6563
     64
    6665implementation
    6766
     
    9291destructor TCommTCPServerSession.Destroy;
    9392begin
    94   Pin.Free;
    95   Socket.Free;
    96   inherited Destroy;
     93  FreeAndNil(Pin);
     94  FreeAndNil(Socket);
     95  inherited;
    9796end;
    9897
     
    161160destructor TCommSocketReceiveThread.Destroy;
    162161begin
    163   Stream.Free;
    164   inherited Destroy;
     162  FreeAndNil(Stream);
     163  inherited;
    165164end;
    166165
     
    200199begin
    201200  Active := False;
    202   Socket.Free;
    203   Sessions.Free;
    204   inherited Destroy;
     201  FreeAndNil(Socket);
     202  FreeAndNil(Sessions);
     203  inherited;
    205204end;
    206205
Note: See TracChangeset for help on using the changeset viewer.