diff options
author | Lance Stout <lancestout@gmail.com> | 2014-02-03 19:19:15 -0600 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2014-02-03 19:19:15 -0600 |
commit | d9db1b84fe03ff92653afede1c2f1da4f0868fe4 (patch) | |
tree | 81e477cef6daeaafdedad09ad5a5a9db7c3e15e4 /sleekxmpp/xmlstream/xmlstream.py | |
parent | bd03f071c611225984223c6d942cab49b46bfcc8 (diff) | |
parent | 848e6ebd8329b8e3fec4d770794361b39d2aaa69 (diff) | |
download | slixmpp-d9db1b84fe03ff92653afede1c2f1da4f0868fe4.tar.gz slixmpp-d9db1b84fe03ff92653afede1c2f1da4f0868fe4.tar.bz2 slixmpp-d9db1b84fe03ff92653afede1c2f1da4f0868fe4.tar.xz slixmpp-d9db1b84fe03ff92653afede1c2f1da4f0868fe4.zip |
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
Diffstat (limited to 'sleekxmpp/xmlstream/xmlstream.py')
-rw-r--r-- | sleekxmpp/xmlstream/xmlstream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index 4d17d08c..3bc1f652 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -1343,12 +1343,12 @@ class XMLStream(object): return True def _start_thread(self, name, target, track=True): - self.__active_threads.add(name) self.__thread[name] = threading.Thread(name=name, target=target) self.__thread[name].daemon = self._use_daemons self.__thread[name].start() if track: + self.__active_threads.add(name) with self.__thread_cond: self.__thread_count += 1 |