update descriptor

pull/203/head
meihkv 2021-02-02 17:00:01 -05:00 committed by GitHub
parent 7a6cd0c126
commit 8453277c0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -116,8 +116,7 @@ class Connection(object):
"Could not close connection because it was not found amongst these: %s"
% str(cls.connections.keys())
)
cls.connections.pop(conn.name)
cls.connections.pop(str(conn.metadata.bind.url))
cls.connections.pop(descriptor)
conn.session.close()
def close(self):