Move the at_exit call
Move the at_exit call

at_exit doesn't play nice with the order in which at_exit calls are
made. It is used by appsignal to shutdown the agent properly, and by
rspec to do... rspec meta programming things...
https://github.com/rspec/rspec-core/pull/410

matrinox/appsignal-ruby,stijnster/appsignal-ruby,rranelli/appsignal,appsignal/appsignal,matrinox/appsignal-ruby,appsignal/appsignal-ruby,stijnster/appsignal-ruby,appsignal/appsignal-ruby,codefarmdev/haystack,appsignal/appsignal,matrinox/appsignal-ruby,appsignal/appsignal-ruby,appsignal/appsignal-ruby,q-m/appsignal,stijnster/appsignal-ruby,subvisual/appsignal