Do not hang forever if shutdown fails
1 files changed, 2 insertions(+), 1 deletions(-) M lib/blather_notify.rb
M lib/blather_notify.rb => lib/blather_notify.rb +2 -1
@@ 27,8 27,9 @@ module BlatherNotify end def self.wait_then_exit - shutdown disconnected { EM.stop } + EM.add_timer(30) { EM.stop } + shutdown @thread.join end end