* @brief Drops the compiled function and forces the next compile() to re-evaluate. */
| 245 | * @brief Drops the compiled function and forces the next compile() to re-evaluate. |
| 246 | */ |
| 247 | void 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. |
no outgoing calls
no test coverage detected