Exception: Async::Debug::LeakError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Async::Debug::LeakError
- Defined in:
- lib/async/debug/selector.rb
Instance Method Summary collapse
-
#initialize(monitors) ⇒ LeakError
constructor
A new instance of LeakError.
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 |