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

Method stop

app/src/DataModel/Scripting/ControlScriptWorker.cpp:386–395  ·  view source on GitHub ↗

* @brief Stops the loop timer and releases the engine. */

Source from the content-addressed store, hash-verified

384 * @brief Stops the loop timer and releases the engine.
385 */
386void 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

Callers 15

stopTransmissionMethod · 0.45
onProtocolFinishedMethod · 0.45
cancelTransferMethod · 0.45
parseReceivedHeaderMethod · 0.45
handleBlock0AckByteMethod · 0.45
handleDataAckByteMethod · 0.45
processInputMethod · 0.45
handleAckByteMethod · 0.45
handleEotAckByteMethod · 0.45
processInputMethod · 0.45
resetStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected