yes
Build / build (push) Successful in 1m2s
Test / build_and_test (push) Failing after 1h31m33s

This commit is contained in:
2026-05-09 00:02:28 +02:00
parent 6777a81330
commit 13b898a7cd
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ pub fn destroy(interface: *Interface, allocator: std.mem.Allocator) VkError!void
// All device memory allocations should've been freed by now
const leaks = self.device_allocator.detectLeaks();
if (leaks != 0)
std.log.scoped(.vkDestroyDevice).err("Device was destroyed leaking {d}KB", .{@divTrunc(leaks, 1000)})
std.log.scoped(.vkDestroyDevice).err("Device was destroyed leaking {d:.3}KB", .{@as(f32, @floatFromInt(leaks)) / 1000})
else
std.log.scoped(.vkDestroyDevice).debug("No device memory leaks detected", .{});
self.device_allocator.deinitWithoutLeakChecks();