diff --git a/trunk/ripnews/news/article.rb b/trunk/ripnews/news/article.rb index 9838297..c4293f7 100644 --- a/trunk/ripnews/news/article.rb +++ b/trunk/ripnews/news/article.rb @@ -1,4 +1,4 @@ -# $Dwarf: article.rb,v 1.94 2004/11/21 14:21:03 ward Exp $ +# $Dwarf: article.rb,v 1.95 2005/01/30 14:24:13 ward Exp $ # $Source$ # @@ -786,7 +786,7 @@ def printerr(server) print "Error: #{$!}\n" end -def quit +def disconnect # just testing if these should be reset... @messageinfo = [] @@ -798,6 +798,12 @@ def quit end end +def quit + # just testing if these should be reset... + @messageinfo = [] + disconnect +end + private :ward_sort end # class diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index addc788..6b2a9b8 100755 --- a/trunk/ripnews/ripnews.rb +++ b/trunk/ripnews/ripnews.rb @@ -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"