projects
/
vpproxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Обработка таймаута при закрытии потока.
[vpproxy.git]
/
vlcclient
/
vlcclient.py
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):