Changeset 247 for PinConnection/UCommPin.pas
- Timestamp:
- May 24, 2011, 12:36:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommPin.pas
r119 r247 51 51 procedure TCommPin.Connect(Pin: TCommPin); 52 52 begin 53 if Assigned(Pin) then Disconnect; 54 Self.RemotePin := Pin; 55 Pin.RemotePin := Self; 53 if Pin <> RemotePin then begin 54 Pin.Disconnect; 55 Disconnect; 56 Self.RemotePin := Pin; 57 Pin.RemotePin := Self; 58 end; 56 59 end; 57 60
Note:
See TracChangeset
for help on using the changeset viewer.