Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 9b4dc17 commit 077377a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doomsday/apps/client/src/ui/clientstyle.cpp
Expand Up @@ -101,6 +101,7 @@ Image ClientStyle::makeGameLogo(Game const &game, res::LumpCatalog const &catalo

void ClientStyle::performUpdate()
{
// We'll use de::async since the thread will just be sleeping.
async([]() {
// Wait until all UI assets are finished, and thus we can sure that no background
// operations are accessing style assets.
Expand Down
3 changes: 2 additions & 1 deletion doomsday/apps/server/src/remotefeeduser.cpp
Expand Up @@ -155,7 +155,8 @@ DE_PIMPL(RemoteFeedUser)
// Note: This is executed in a background thread.
try
{
// Make sure the file system is ready for use.
// Make sure the file system is ready for use. Waiting is ok because this is
// called via de::async.
FS::waitForIdle();

std::unique_ptr<RemoteFeedMetadataPacket> response;
Expand Down
1 change: 0 additions & 1 deletion doomsday/libs/core/src/filesys/folder.cpp
Expand Up @@ -560,7 +560,6 @@ AsyncTask *Folder::afterPopulation(std::function<void ()> func)
func();
return nullptr;
}

return async([] ()
{
waitForPopulation();
Expand Down

0 comments on commit 077377a

Please sign in to comment.