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/CommDelay.pas

    r574 r575  
    1 unit UCommDelay;
    2 
    3 {$mode Delphi}{$H+}
     1unit CommDelay;
    42
    53interface
    64
    75uses
    8   Classes, SysUtils, UCommPin, UThreading, SyncObjs, SpecializedList;
     6  Classes, SysUtils, CommPin, Threading, SyncObjs, SpecializedList;
    97
    108type
     
    5250    property Delay: TDateTime read FDelay write FDelay;
    5351  end;
     52
    5453
    5554implementation
     
    103102destructor TDelayedPacket.Destroy;
    104103begin
    105   Data.Free;
    106   inherited Destroy;
     104  FreeAndNil(Data);
     105  inherited;
    107106end;
    108107
     
    186185begin
    187186  Active := False;
    188   Pin2.Free;
    189   Pin1.Free;
    190   PacketQueue1.Free;
    191   PacketQueue2.Free;
    192   Lock1.Free;
    193   Lock2.Free;
    194   inherited Destroy;
     187  FreeAndNil(Pin2);
     188  FreeAndNil(Pin1);
     189  FreeAndNil(PacketQueue1);
     190  FreeAndNil(PacketQueue2);
     191  FreeAndNil(Lock1);
     192  FreeAndNil(Lock2);
     193  inherited;
    195194end;
    196195
Note: See TracChangeset for help on using the changeset viewer.