Subject: | Numerous circular references in SSH2 code |
The code that implements SSH2 is filled with circular references. Combined with the absence of an explicit disconnect method, this means that in a persistent environment, these objects are never garbage collected. Even worse, the socket that is opened for the SSH connection is never closed.