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

Method markCleanExit

app/src/Misc/CrashTracker.cpp:119–125  ·  view source on GitHub ↗

* @brief Clears the running flag and resets the consecutive-crash counter. */

Source from the content-addressed store, hash-verified

117 * @brief Clears the running flag and resets the consecutive-crash counter.
118 */
119void Misc::CrashTracker::markCleanExit()
120{
121 m_settings.setValue(kKeyRunning, false);
122 m_settings.setValue(kKeyConsecutive, 0);
123 m_settings.remove(kKeyCheckpoint);
124 m_settings.sync();
125}
126
127//--------------------------------------------------------------------------------------------------
128// Checkpoint API

Callers 2

onQuitMethod · 0.80
promptRestartAndQuitMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected