ruby_free_at_exit_p is a way for extensions to determine whether they should free all memory at shutdown.