* @brief Stops the loop timer and releases the engine. */
| 384 | * @brief Stops the loop timer and releases the engine. |
| 385 | */ |
| 386 | void DataModel::ControlScriptWorker::stop() |
| 387 | { |
| 388 | if (m_loopTimer) |
| 389 | m_loopTimer->stop(); |
| 390 | |
| 391 | m_loaded = false; |
| 392 | m_setupFn = QJSValue(); |
| 393 | m_loopFn = QJSValue(); |
| 394 | releaseEngine(); |
| 395 | } |
| 396 | |
| 397 | /** |
| 398 | * @brief Drops the bridge, watchdog, and engine in that order; the watchdog must unregister |
no outgoing calls
no test coverage detected