Ignore:
Timestamp:
Jun 19, 2024, 11:53:06 PM (5 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGameProtocol.pas

    r220 r316  
    11unit UGameProtocol;
    2 
    3 {$mode delphi}
    42
    53interface
     
    124122destructor TGameProtocolServer.Destroy;
    125123begin
    126   Pin.Free;
    127   inherited Destroy;
     124  FreeAndNil(Pin);
     125  inherited;
    128126end;
    129127
     
    240238destructor TGameProtocolClient.Destroy;
    241239begin
    242   Pin.Free;
    243   inherited Destroy;
     240  FreeAndNil(Pin);
     241  inherited;
    244242end;
    245243
Note: See TracChangeset for help on using the changeset viewer.