mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
minissl.rb
Add @socket.closed? test to close method
This commit is contained in:
parent
fb6e6ae888
commit
da8f7ce03d
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ module Puma
|
|||
end
|
||||
|
||||
def close
|
||||
@socket.close
|
||||
@socket.close unless @socket.closed? # closed? call is for Windows
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue