diff options
Diffstat (limited to 'lib/yahns/wbuf_common.rb')
-rw-r--r-- | lib/yahns/wbuf_common.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/yahns/wbuf_common.rb b/lib/yahns/wbuf_common.rb index 01e20bb..69fd00d 100644 --- a/lib/yahns/wbuf_common.rb +++ b/lib/yahns/wbuf_common.rb @@ -32,6 +32,9 @@ module Yahns::WbufCommon # :nodoc: "sf_offset=#@sf_offset sf_count=#@sf_count" end while @sf_count > 0 wbuf_close(client) + rescue + wbuf_close(client) + raise end def wbuf_close_common(client) |