ook IOError opvangen bij disconnect
This commit is contained in:
parent
98d543ebd4
commit
308adc8458
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
# $Dwarf: article.rb,v 1.95 2005/01/30 14:24:13 ward Exp $
|
# $Dwarf: article.rb,v 1.96 2005/01/30 18:43:17 ward Exp $
|
||||||
# $Source$
|
# $Source$
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
@ -793,7 +793,7 @@ def disconnect
|
||||||
for server in @connections.keys
|
for server in @connections.keys
|
||||||
begin
|
begin
|
||||||
@connections[server]["nntp"].quit
|
@connections[server]["nntp"].quit
|
||||||
rescue Errno::EPIPE, Errno::ECONNRESET, EOFError
|
rescue Errno::EPIPE, Errno::ECONNRESET, EOFError, IOError
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue