From 04bf891796fdbdc4d18fcdaf97ff6daab680fb45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= Date: Sun, 28 Oct 2018 19:45:11 +0200 Subject: [PATCH] Debug|Client|UI: PackagesWidget accesses files during population This should be rethought a little to make the file access safer. --- doomsday/apps/client/src/ui/widgets/packageswidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/doomsday/apps/client/src/ui/widgets/packageswidget.cpp b/doomsday/apps/client/src/ui/widgets/packageswidget.cpp index 605e03d34f..bee1b9edaf 100644 --- a/doomsday/apps/client/src/ui/widgets/packageswidget.cpp +++ b/doomsday/apps/client/src/ui/widgets/packageswidget.cpp @@ -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(_item->file->source())) { pkgIdVer.first = native->nativePath().pretty();