• Pierre Chambart's avatar
    Teamwork: Prevent leaks with never_ending · ce926e57
    Pierre Chambart authored
    Lwt_utils.never_ending is a global variable, hence a GC root. A promise
    created by binding it cannot ever be garbage collected. This fixes the
    known leak in the baker an endorser by allocating a fresh one for each
    use (by turning it into a function). This porbably fix other slower
    leaks.
    
    High five Klakplok and Vincent.
    ce926e57
Name
Last commit
Last update
..
test Loading commit data...
binary_stream.ml Loading commit data...
binary_stream.mli Loading commit data...
compare.ml Loading commit data...
compare.mli Loading commit data...
hashPtree.ml Loading commit data...
hashPtree.mli Loading commit data...
jbuild Loading commit data...
logging.ml Loading commit data...
logging.mli Loading commit data...
lwt_canceler.ml Loading commit data...
lwt_canceler.mli Loading commit data...
lwt_dropbox.ml Loading commit data...
lwt_dropbox.mli Loading commit data...
lwt_idle_waiter.ml Loading commit data...
lwt_idle_waiter.mli Loading commit data...
lwt_pipe.ml Loading commit data...
lwt_pipe.mli Loading commit data...
lwt_utils.ml Loading commit data...
lwt_utils.mli Loading commit data...
lwt_watcher.ml Loading commit data...
lwt_watcher.mli Loading commit data...
mBytes.ml Loading commit data...
mBytes.mli Loading commit data...
option.ml Loading commit data...
option.mli Loading commit data...
ring.ml Loading commit data...
ring.mli Loading commit data...
test-ocp-indent.sh Loading commit data...
tezos-stdlib.opam Loading commit data...
tzList.ml Loading commit data...
tzList.mli Loading commit data...
tzString.ml Loading commit data...
tzString.mli Loading commit data...
utils.ml Loading commit data...
utils.mli Loading commit data...