Force at_exit/ensure NOT to run


#1

i’m trying to debug something and thought i could prevent some at_exit
and
ensure blocks from running by doing a

Process::kill -9, Process::pid

but, apparently, i’m wrong. shouldn’t this work? if not what might?

thanks.

-a


#2

Have you tried Kernel#exit! ?


Kent

http://www.datanoise.com