issues
search
JuliaIO
/
GZip.jl
A Julia interface for gzip functions in zlib
https://juliaio.github.io/GZip.jl/dev
MIT License
39
stars
30
forks
source link
Do not mess with the GC
#35
Closed
yuyichao
closed
9 years ago
yuyichao
commented
9 years ago
There shouldn't be a race condition here.
If the function is called manually, the variable is referenced from the stack.
If the function is called called as finalizer, the GC will make sure it is not called twice.
There shouldn't be a race condition here.