[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

force at_exit/ensure NOT to run

Ara.T.Howard

2/22/2006 5:37:00 AM

1 Answer

Kent Sibilev

2/22/2006 5:44:00 AM

0

Have you tried Kernel#exit! ?

--
Kent
---
http://www.dat...


On 2/22/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:
>
> 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
>
> --
> judge your success by what you had to give up in order to get it.
> - h.h. the 14th dali lama
>
>