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.



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

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