summaryrefslogtreecommitdiffhomepage
path: root/test/ruby/hooks/on_thread_shutdown.rb
blob: e65c1b42fd897b6ef22981bb16150ea5401ed8f3 (plain) (blame)
1
2
3
4
5
require 'securerandom'

on_thread_shutdown do
    File.write("./cookie_thread_shutdown.#{SecureRandom.hex}", "shutdown")
end