Exception: Async::Debug::LeakError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/async/debug/selector.rb

Instance Method Summary collapse

Constructor Details

#initialize(monitors) ⇒ LeakError

Returns a new instance of LeakError.



31
32
33
# File 'lib/async/debug/selector.rb', line 31

def initialize(monitors)
	super "Trying to close selector with active monitors: #{monitors.inspect}! This may cause your socket or file descriptor to leak."
end