napalm-automation / napalm-base

Apache License 2.0
32 stars 48 forks source link

Adding check to __del__ to ignore exception if socket was already closed #226

Closed gjim83 closed 7 years ago

gjim83 commented 7 years ago

Otherwise, an OSError exception is thrown during garbage collection when the session was already closed.