🚨 Stop double-freeing the connection packet handler at exit
Unit finalization already frees the handler table; freeing the shared handler again from the datamodule corrupted the heap on shutdown.
This commit is contained in:
@@ -98,7 +98,6 @@ procedure TdmNetwork.DataModuleDestroy(Sender: TObject);
|
||||
begin
|
||||
FreeAndNil(FSendQueue);
|
||||
FreeAndNil(FReceiveQueue);
|
||||
FreeAndNil(PacketHandlers[$02]);
|
||||
end;
|
||||
|
||||
procedure TdmNetwork.TCPClientConnect(aSocket: TLSocket);
|
||||
|
||||
Reference in New Issue
Block a user