Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed|Resources|libdoomsday: Sidecar manifest files not found
If the file system was still being populated while data files were
being identified, the folder contents may not have been fully
present yet.
  • Loading branch information
skyjake committed Jul 2, 2016
1 parent bd2886e commit 8fdbcc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doomsday/apps/libdoomsday/src/resource/bundles.cpp
Expand Up @@ -54,7 +54,7 @@ DENG2_PIMPL(Bundles)
App::fileSystem().indexFor(DENG2_TYPE_NAME(DataFolder)).audienceForAddition() += this;
App::fileSystem().indexFor(DENG2_TYPE_NAME(DataFolder)).audienceForRemoval() += this;
}

~Instance()
{
// Ongoing identification tasks should first finish.
Expand Down Expand Up @@ -100,6 +100,8 @@ DENG2_PIMPL(Bundles)

bool identifyAddedDataBundles()
{
Folder::waitForPopulation();

DENG2_ASSERT(App::rootFolder().has("/sys/bundles"));

bool wasIdentified = false;
Expand Down

0 comments on commit 8fdbcc8

Please sign in to comment.