Method: Bunny::ReaderLoop#terminate_with

Defined in:
lib/bunny/reader_loop.rb

#terminate_with(e) ⇒ Object



110
111
112
113
114
# File 'lib/bunny/reader_loop.rb', line 110

def terminate_with(e)
  @mutex.synchronize { @stopping = true }

  self.raise(e)
end