MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / reset

Method reset

app/src/MQTT/PublisherScript.cpp:247–252  ·  view source on GitHub ↗

* @brief Drops the compiled function and forces the next compile() to re-evaluate. */

Source from the content-addressed store, hash-verified

245 * @brief Drops the compiled function and forces the next compile() to re-evaluate.
246 */
247void MQTT::PublisherScript::reset()
248{
249 resetJs();
250 destroyLua();
251 m_loaded = false;
252}
253
254/**
255 * @brief Closes and releases the Lua state if one is allocated.

Callers 4

closeResourcesMethod · 0.45
createFileMethod · 0.45
closeFileMethod · 0.45
applyBrokerConfigMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected