Skip to content
Snippets Groups Projects
Commit bcb959e5 authored by nkour's avatar nkour
Browse files

stop mark days when we close history

parent c3670ea4
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,10 @@ class HistoryWindow:
self.window.show_all()
def on_history_window_destroy(self, widget):
if self.mark_days_idle_call_id:
# if user destroys the window, and we have a generator filling mark days
# stop him!
gobject.source_remove(self.mark_days_idle_call_id)
del gajim.interface.instances['logs'][self.jid]
def on_close_button_clicked(self, widget):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment