fixing soft device leaks

This commit is contained in:
2025-12-09 00:26:03 +01:00
parent 8b33e61903
commit 0f71a3d39c

View File

@@ -15,7 +15,7 @@ pub inline fn unref(self: *Self) void {
}
pub inline fn hasRefs(self: *Self) bool {
return self.getRefsCount() == 0;
return self.getRefsCount() != 0;
}
pub inline fn getRefsCount(self: *Self) usize {