Skip to content

Commit 5def00a

Browse files
committed
Remove __del__
1 parent 02df4a3 commit 5def00a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sounddevice.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,10 +1183,6 @@ def cpu_load(self):
11831183
"""
11841184
return _lib.Pa_GetStreamCpuLoad(self._ptr)
11851185

1186-
def __del__(self):
1187-
"""Close stream at garbage collection."""
1188-
self.close()
1189-
11901186
def __enter__(self):
11911187
"""Start the stream in the beginning of a "with" statement."""
11921188
self.start()

0 commit comments

Comments
 (0)