lib/lightio/library/io.rb in lightio-0.2.1 vs lib/lightio/library/io.rb in lightio-0.2.2
- old
+ new
@@ -33,10 +33,10 @@
outbuf
end
def close(*args)
# close watcher before io closed
- @io_watcher&.close
+ @io_watcher.close
@io.close(*args)
end
def to_io
self