Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions view/sharedcache/ui/dsctriage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,11 @@ void DSCTriageView::loadImagesWithAddr(const std::vector<uint64_t>& addresses, b
for (const uint64_t& addr : addresses)
{
auto image = controller->GetImageContaining(addr);
// Only try to load if we have not already.
if (image.has_value() && !controller->IsImageLoaded(*image))
if (image.has_value())
{
images.insert({image->headerAddress, *image});
// Only try to load if we have not already.
if (!controller->IsImageLoaded(*image))
images.insert({image->headerAddress, *image});

// TODO: We currently only add direct dependencies, may want to make the depth configurable?
if (includeDependencies)
Expand Down