Commit f913c037 authored by Saul Ibarra's avatar Saul Ibarra

Fix hiding ZRTP widget from a non-GUI thread

parent 052b8282
...@@ -1927,6 +1927,7 @@ class AudioSessionItem(object): ...@@ -1927,6 +1927,7 @@ class AudioSessionItem(object):
self.status = Status(notification.data.reason) self.status = Status(notification.data.reason)
self._cleanup() self._cleanup()
@run_in_gui_thread
def _NH_MediaStreamWillEnd(self, notification): def _NH_MediaStreamWillEnd(self, notification):
stream = notification.sender stream = notification.sender
if stream.type == 'audio' and stream.blink_session.items.audio is self: if stream.type == 'audio' and stream.blink_session.items.audio is 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