[apps] Implement a reset in apps (clear memory)

Change-Id: I158d5db92196ccfd5400a95de16ee4804e426e65
This commit is contained in:
Émilie Feral
2017-04-07 12:11:16 +02:00
parent b0f51e818e
commit 4348bd7bae
27 changed files with 86 additions and 13 deletions

View File

@@ -62,4 +62,10 @@ int FunctionStore::numberOfDefinedFunctions() {
return result;
}
void FunctionStore::removeAll() {
for (int i = 0; i < numberOfFunctions(); i++) {
removeFunction(functionAtIndex(i));
}
}
}