• Kirill Smelkov's avatar
    X bigfile/_file_zodb: Fix logic around ZSync usage · 8bf8f23b
    Kirill Smelkov authored
    The logic inside ZSync was correct, but it was incorrect to attach zsync
    to zconn to stay alive and react when that zconn is garbage collected:
    zsync._on_zconn_dealloc was not called because zsync itself was garbage
    collected too.
    
    This fixes many failures where wconn and associated pinner was not
    released even though ZODB DB was correctly closed.
    8bf8f23b
_file_zodb.pyx 6.66 KB