aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/device_context.cc8
-rw-r--r--src/instance_context.cc8
2 files changed, 2 insertions, 14 deletions
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
diff --git a/src/instance_context.cc b/src/instance_context.cc
index 8aeb46c..06c04a8 100644
--- a/src/instance_context.cc
+++ b/src/instance_context.cc
@@ -10,12 +10,6 @@ InstanceContext::InstanceContext(const LayerContext& parent_context,
VkuInstanceDispatchTable&& vtable)
: layer(parent_context), instance(instance), vtable(std::move(vtable)) {}
-InstanceContext::~InstanceContext() {
- // Similar to devices, we should own the only shared ptr at this point so
- // they destruct now.
- for (const auto& [device, device_context] : this->physical_devices) {
- assert(device_context.unique());
- }
-}
+InstanceContext::~InstanceContext() {}
} // namespace low_latency \ No newline at end of file