New and fixed tests
This commit is contained in:
parent
aa838bf826
commit
b7ceb7087a
3 changed files with 95 additions and 45 deletions
|
|
@ -110,5 +110,10 @@ void apparatus::init() {
|
|||
}
|
||||
|
||||
void apparatus::shutdown() {
|
||||
delete apparatus::_instance;
|
||||
apparatus::instance()->save();
|
||||
if (apparatus::isFirstRun() && apparatus::instance()->get_auth_subsystem()->users().length() > 0) {
|
||||
apparatus::generate_lock_file();
|
||||
}
|
||||
// delete apparatus::_instance;
|
||||
apparatus::_instance = nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue