summaryrefslogtreecommitdiff
path: root/sounddevice.py
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2016-11-21 19:01:56 +0100
committerMatthias Geier <Matthias.Geier@gmail.com>2017-01-26 20:55:57 +0100
commit5def00ade73156dfd2ec3da155262825494a644b (patch)
tree54051ff42a1e1bc6807c28c4dfa49f1fcb4ccb5e /sounddevice.py
parent02df4a3c85db41829b34666dcd775c9b967bf347 (diff)
Remove __del__
Diffstat (limited to 'sounddevice.py')
-rw-r--r--sounddevice.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/sounddevice.py b/sounddevice.py
index 2d79f35..5781d22 100644
--- a/sounddevice.py
+++ b/sounddevice.py
@@ -1183,10 +1183,6 @@ class _StreamBase(object):
"""
return _lib.Pa_GetStreamCpuLoad(self._ptr)
- def __del__(self):
- """Close stream at garbage collection."""
- self.close()
-
def __enter__(self):
"""Start the stream in the beginning of a "with" statement."""
self.start()