projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26518ab
)
Close requests Session at the end of Stream._run
author
Harmon
<Harmon758@gmail.com>
Sat, 23 Jan 2021 00:18:25 +0000
(18:18 -0600)
committer
Harmon
<Harmon758@gmail.com>
Sat, 23 Jan 2021 00:18:25 +0000
(18:18 -0600)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 5323cba0d9180153a9275db3a386703968b6b190..43426732b32ab75a9a66ccc5967d69040fe6aff5 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-210,6
+210,7
@@
class Stream:
self.listener.on_exception(exc)
raise
finally:
+ self.session.close()
self.running = False
def _read_loop(self, resp):