aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2026-01-14 20:02:08 +0100
committerLaytan Laats <laytanlaats@hotmail.com>2026-01-14 20:02:08 +0100
commit57d02cb14850e7b241f5ec519ff5e44c6129a5fe (patch)
treeeeeff8179a753a34a66ea17ac20ac5293cac5433 /core
parent5fcf210c916135a66283b65cd7785cbbe091ebee (diff)
pool: remove assert that is too strict
Diffstat (limited to 'core')
-rw-r--r--core/container/pool/pool.odin1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/container/pool/pool.odin b/core/container/pool/pool.odin
index 425d6a0fb..01fb29f2d 100644
--- a/core/container/pool/pool.odin
+++ b/core/container/pool/pool.odin
@@ -44,7 +44,6 @@ destroy :: proc(p: ^Pool($T)) {
elem := sync.atomic_exchange_explicit(&p.free_list, nil, .Acquire)
sync.atomic_store_explicit(&p.num_ready, 0, .Relaxed)
- assert(sync.atomic_load_explicit(&p.num_outstanding, .Relaxed) == 0)
when .Address in ODIN_SANITIZER_FLAGS {
for ; elem != nil; elem = _get_next(p, elem) {