# File lib/mail_room/mailbox_watcher.rb, line 42 def quit @running = false if @connection @connection.quit @connection = nil end if self.watching_thread self.watching_thread.join end end