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

Method flushAutoSave

app/src/DataModel/ProjectModel.cpp:7674–7680  ·  view source on GitHub ↗

* @brief Flushes any pending debounced autosave synchronously (called on app quit). */

Source from the content-addressed store, hash-verified

7672 * @brief Flushes any pending debounced autosave synchronously (called on app quit).
7673 */
7674void DataModel::ProjectModel::flushAutoSave()
7675{
7676 if (m_autoSaveTimer && m_autoSaveTimer->isActive())
7677 m_autoSaveTimer->stop();
7678
7679 autoSave();
7680}
7681
7682/**
7683 * @brief Starts the debounced autosave when saving is currently permitted; the API mutation

Callers 5

datasetAddManyMethod · 0.80
projectBatchMethod · 0.80
onQuitMethod · 0.80

Calls 2

isActiveMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected