Skip to content

Commit

Permalink
[util] Filter out internal private ref on object destruction
Browse files Browse the repository at this point in the history
Closes #3531 for real this time.
  • Loading branch information
doitsujin committed Jun 24, 2023
1 parent a7278cd commit 987df8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/com/com_object.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ namespace dxvk {
}

bool HasLiveReferences() const {
return bool(m_refCount.load() | m_refPrivate.load());
return bool(m_refCount.load() | (m_refPrivate.load() & 0x7FFFFFFF));
}

protected:
Expand Down

0 comments on commit 987df8a

Please sign in to comment.