Skip to content
Snippets Groups Projects
Commit 2b2b3b10 authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Disables microdrop listener when disconnecting.

parent a62ee801
Branches
Tags
No related merge requests found
......@@ -593,6 +593,7 @@ class main:
self.microdrop_proc = gobject.timeout_add(500, self.microdrop_listen)
def on_menu_dropbot_disconnect_activate(self, menuitem, data= None):
gobject.source_remove(self.microdrop_listen)
self.microdrop.reset()
del self.microdrop
self.dropbot_enabled = False
......
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