diff --git a/src/host/abstractarray.jl b/src/host/abstractarray.jl index 583c858e..96dbac71 100644 --- a/src/host/abstractarray.jl +++ b/src/host/abstractarray.jl @@ -87,8 +87,8 @@ function unsafe_free!(ref::DataRef, args...) # as multiple releases of the underlying data is not allowed. return end - release(ref.rc, args...) ref.freed = true + release(ref.rc, args...) return end