disconnect before waiting for decodes; avoid server disconnect
This commit is contained in:
parent
cd03bf9469
commit
98d543ebd4
2 changed files with 10 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/local/bin/ruby -w
|
||||
|
||||
# $Dwarf: ripnews.rb,v 1.89 2005/01/30 14:24:47 ward Exp $
|
||||
# $Dwarf: ripnews.rb,v 1.90 2005/01/30 14:47:00 ward Exp $
|
||||
# $Source$
|
||||
|
||||
#
|
||||
|
|
@ -705,6 +705,7 @@ def main
|
|||
|
||||
# hier wachten op evt. threads...
|
||||
if @decode_threads
|
||||
@articles.disconnect
|
||||
puts "Waiting for decode threads..."
|
||||
@decode_threads.each{|thr| thr.join}
|
||||
puts "Decode threads all done"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue