void loopIteration() { /// @todo Refactor: TaskPool has a signal (or audience) when all tasks are complete. /// No need to check on every loop iteration. if (convertSavegameTasks.isDone()) { LOG_AS("SaveGames"); Loop::get().audienceForIteration() -= this; try { // The newly converted savegame(s) should now be somewhere in /home/savegames FileSystem::get().root().locate<Folder>("/home/savegames").populate(); } catch (Folder::NotFoundError const &) {} // Ignore. } }
bool isRewrapping() const { return !rewrapPool.isDone(); }