Unregister the PortOpenCloseEx in TApdDataPacketManager.Dest
Brought to you by:
tpsfadmin
register a packet.
unregister a packet.
register a packet.
close the comport. > AV
Since you allways set the comport to nil inside the unit, you never call the unregister of the callback anymore.
This causes an av later on when reopening / closing the port.
altered adpacket