MCPcopy Create free account
hub / github.com/KDE/labplot / ~MQTTClient

Method ~MQTTClient

src/backend/datasources/MQTTClient.cpp:40–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40MQTTClient::~MQTTClient() {
41 Q_EMIT clientAboutToBeDeleted(m_client->hostname(), m_client->port());
42 // stop reading before deleting the objects
43 pauseReading();
44
45 delete m_filter;
46 delete m_updateTimer;
47 delete m_willTimer;
48 m_client->disconnectFromHost();
49 delete m_client;
50}
51
52/*!
53 * depending on the update type, periodically or on data changes, starts the timer.

Callers

nothing calls this directly

Calls 1

portMethod · 0.45

Tested by

no test coverage detected