Files
Upsilon/apps/shared/shared_app.cpp
Arthur Camouseigt 3dca515441 [VariableBox] Added sequences to the variable box
It is now possible to call the value of a defined sequence anywhere.

Change-Id: I1990e93c50f9add175b7ea274e07004ba63289e5
2020-11-04 15:32:58 +01:00

10 lines
400 B
C++

#include "shared_app.h"
#include "global_context.h"
#include <apps/apps_container.h>
void SharedApp::Snapshot::pack(App * app) {
/* Since the sequence store is now accessible from every app, when exiting
* any application, we need to tidy it.*/
static_cast<Shared::GlobalContext *>(AppsContainer::sharedAppsContainer()->globalContext())->sequenceStore()->tidy();
App::Snapshot::pack(app);
}