projects
/
vpproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0d52b04
)
Обработка таймаута при закрытии потока.
author
Roman Bazalevsky
<rvb@rvb.name>
Tue, 3 Nov 2015 17:04:22 +0000
(20:04 +0300)
committer
Roman Bazalevsky
<rvb@rvb.name>
Tue, 3 Nov 2015 17:04:22 +0000
(20:04 +0300)
vlcclient/vlcclient.py
patch
|
blob
|
history
diff --git
a/vlcclient/vlcclient.py
b/vlcclient/vlcclient.py
index f1e5733d881d76a27d1570291c41243ab58c8555..949215627f5c9fc89fc87c6fb8104950669533c2 100644
(file)
--- a/
vlcclient/vlcclient.py
+++ b/
vlcclient/vlcclient.py
@@
-183,7
+183,10
@@
class VlcClient(object):
if time.time()-lasttime>timeout:
to_stop.add(stream)
for stream in to_stop:
- self.stopBroadcast(stream)
+ try:
+ self.stopBroadcast(stream)
+ except:
+ pass
self._resultlock.release()
def check_stream(self,stream_name):