Ignore:
Timestamp:
Aug 17, 2012, 9:53:11 AM (12 years ago)
Author:
chronos
Message:
  • Fixed: Use parent TCommNode Active property instead custom in PinConnection package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • PinConnection/UCommHub.pas

    r413 r414  
    2525  TCommHub = class(TCommNode)
    2626  private
    27     FActive: Boolean;
    2827    FPins: TPinList;
    2928    procedure Receive(Sender: TCommPin; Stream: TListByte);
     
    3332    destructor Destroy; override;
    3433    property Pins: TPinList read FPins write FPins;
    35     property Active: Boolean read FActive write FActive;
    3634  end;
    3735
     
    103101begin
    104102  Active := False;
    105   FPins.Free;
    106   inherited Destroy;
     103  FreeAndNil(FPins);
     104  inherited;
    107105end;
    108106
Note: See TracChangeset for help on using the changeset viewer.