Commit 91600c7c authored by Dan Pascu's avatar Dan Pascu

Fixed exception when trying to change status after audio session is gone

parent 98f764a2
...@@ -1618,7 +1618,7 @@ class AudioSessionItem(object): ...@@ -1618,7 +1618,7 @@ class AudioSessionItem(object):
self.widget.hangup_button.setEnabled(False) self.widget.hangup_button.setEnabled(False)
def _reset_status(self): def _reset_status(self):
if not self.blink_session.on_hold: if not self.__deleted__ and not self.blink_session.on_hold:
self.status = None self.status = None
def _SH_HangupButtonClicked(self): def _SH_HangupButtonClicked(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment