diff --git a/lib/blather_notify.rb b/lib/blather_notify.rb index 754e3db7a8bf4e8956706701c408d784e882959a..d9c3846b4dbdb1cfcd445e6d48da87e001f47e74 100644 --- a/lib/blather_notify.rb +++ b/lib/blather_notify.rb @@ -21,9 +21,9 @@ module BlatherNotify end end + Timeout.timeout(30) { @ready.pop } at_exit { wait_then_exit } - Timeout.timeout(30) { @ready.pop } end def self.wait_then_exit