From 6d1032d39fac105f1bfb5972a45643b6fffb56a2 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Tue, 7 Apr 2026 17:14:38 +1000 Subject: Remove unnecessary assertions for unique shared pointers in destructors of Instance and Device contexts --- src/device_context.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/device_context.cc') diff --git a/src/device_context.cc b/src/device_context.cc index a4f3a13..d0dbc52 100644 --- a/src/device_context.cc +++ b/src/device_context.cc @@ -32,12 +32,6 @@ DeviceContext::DeviceContext(InstanceContext& parent_instance, }(); } -DeviceContext::~DeviceContext() { - // We will let the destructor handle clearing here, but they should be - // unique by now (ie, removed from the layer's context map). - for (const auto& [queue, queue_context] : this->queues) { - assert(queue_context.unique()); - } -} +DeviceContext::~DeviceContext() {} } // namespace low_latency \ No newline at end of file -- cgit v1.2.3