Skip to content

Commit

Permalink
Merge pull request #536 from teltek/bugfix_457
Browse files Browse the repository at this point in the history
Added __del__ in recorder to remove bus_signal_watch #451
  • Loading branch information
Alfro authored May 30, 2017
2 parents 95e0b47 + b8c37e5 commit 492867f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions galicaster/recorder/recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
GST_TIMEOUT= Gst.SECOND*10

class Recorder(object):
def __del__(self):
self.bus.remove_signal_watch()

def __init__(self, bins, players={}):
"""
Expand Down

0 comments on commit 492867f

Please sign in to comment.