Skip to content
Snippets Groups Projects

[fsearch] gracefully terminate the runtime to print the collected stats

Merged Florian Fischer requested to merge aj46ezos/emper:fsearch-allow-stats-reporting into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -72,7 +72,7 @@ void walk_dir() {
auto fn = [](const fs::directory_entry& dirent) { search(dirent.path()); };
emper::io::recursive_directory_walk(".", filter, fn);
exit(EXIT_SUCCESS);
Runtime::getRuntime()->initiateTermination();
}
auto main(int argc, char* argv[]) -> int {
Loading