diff options
Diffstat (limited to 'test/ruby/hooks/on_thread_shutdown.rb')
-rw-r--r-- | test/ruby/hooks/on_thread_shutdown.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ruby/hooks/on_thread_shutdown.rb b/test/ruby/hooks/on_thread_shutdown.rb new file mode 100644 index 00000000..e65c1b42 --- /dev/null +++ b/test/ruby/hooks/on_thread_shutdown.rb @@ -0,0 +1,5 @@ +require 'securerandom' + +on_thread_shutdown do + File.write("./cookie_thread_shutdown.#{SecureRandom.hex}", "shutdown") +end |