Skip to content

Commit a184ff6

Browse files
committed
Remove __del__ from Handler
1 parent 80f4720 commit a184ff6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

PSL/packet_handler.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,6 @@ def reconnect(
189189
)
190190
self.connect()
191191

192-
def __del__(self): # Is this necessary?
193-
"""Disconnect before garbage collection."""
194-
self.interface.close()
195-
196192
def get_version(self, *args) -> str: # *args for backwards compatibility
197193
"""Query PSLab for its version and return it as a decoded string.
198194

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy