diff options
author | Kyle Agronick <agronick@gmail.com> | 2017-05-04 10:06:07 -0400 |
---|---|---|
committer | Pierce Lopez <pierce.lopez@gmail.com> | 2017-06-02 03:15:24 -0400 |
commit | a811ed36e1d90e67df6edb5cbe27642d4afae268 (patch) | |
tree | 4b94c43cc270510938c3d0d07e6f3a67a5358257 /sites | |
parent | 08b07ebde3d6699073e9d1a0f599f940a1834d71 (diff) |
remove ResourceManager to fix leak of Transport/SSHClient
The back-reference from Transport to SSHClient was added because
the SSHClient had a destructor that would close the Transport,
and some users did not want the Transport closed when the SSHClient
was garbage collected.
The SSHClient destructor was not a normal destructor, it was
implemented with the ResourceManager singleton. Together with
the back-reference, this prevented the GC cycle detector from
freeing the SSHClient and Transport.
Diffstat (limited to 'sites')
0 files changed, 0 insertions, 0 deletions