You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/nbl/video/alloc/SubAllocatedDescriptorSet.h
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,7 @@ class SubAllocatedDescriptorSet : public core::IReferenceCounted
147
147
148
148
inline~SubAllocatedDescriptorSet()
149
149
{
150
+
static_assert(false, "should nullify/destroy/poll the event deferred handler to completion, then as we iterate through `m_allocatableRanges` assert that the allocators have no allocations/everything is free");
150
151
for (uint32_t i = 0; i < m_allocatableRanges.size(); i++)
151
152
{
152
153
auto& range = m_allocatableRanges[i];
@@ -227,18 +228,20 @@ class SubAllocatedDescriptorSet : public core::IReferenceCounted
0 commit comments