Skip to content
Snippets Groups Projects
Commit 91348ee4 authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

No point in daemonizing threads, since this will run forever.

parent 5ed98e33
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,6 @@ class Session():
# The consumer thread
self.queue = Queue.Queue()
self.thread = threading.Thread(target=self.dequeue)
self.thread.daemon = True
self.thread.start()
def enqueue(self, message):
"Enque a message for transmission."
......@@ -144,7 +143,6 @@ class Irker:
self.irc.add_global_handler("ping", lambda c, e: self._handle_ping(c,e))
thread = threading.Thread(target=self.irc.process_forever)
self.irc._thread = thread
thread.daemon = True
thread.start()
self.sessions = {}
self.countmap = {}
......
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