TTMSMQTTNetworkConnection in TMS.MQTT.Connection:
If FIsReady is true there is not always checking if FidTcpClient still exists.
FIsReady will only be set to false when StocketOnStatus is called by IOHandler with status hsDisconnected.
If IOHandler does not send the status and DestroyIndyComponents was called, then you get access violation in Close function.
IOHandler might be destroyed to early?
after many times per second
ERROR - TTMSMQTTNetworkConnection -- Exception reading data from the socket.
Connection has been closed.
you get
ERROR - TTMSMQTTNetworkConnection -- Exception while disconnecting...
Zugriffsverletzung bei Adresse 006D88F7 in Modul 'MQTTGateway.exe'. Lesen von Adresse 00000000