Skip to content

Commit

Permalink
Debug|Client|UI: PackagesWidget accesses files during population
Browse files Browse the repository at this point in the history
This should be rethought a little to make the file access safer.
  • Loading branch information
skyjake committed Oct 28, 2018
1 parent 41a31c4 commit 04bf891
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/apps/client/src/ui/widgets/packageswidget.cpp
Expand Up @@ -297,6 +297,7 @@ DENG_GUI_PIMPL(PackagesWidget)
}

// Local files should not be indicated to be packages.
DENG2_ASSERT(!Folder::isPopulatingAsync());
if (NativeFile const *native = maybeAs<NativeFile>(_item->file->source()))
{
pkgIdVer.first = native->nativePath().pretty();
Expand Down

0 comments on commit 04bf891

Please sign in to comment.