From: Jan Dvorak Date: 2008-02-05T06:24:15+09:00 Subject: Re: Extensions: Init_extension exists, looking for Deinit_extension On Monday 04 February 2008 20:16:22 Jason Roelofs wrote: > As you cannot explicitly unload a require, no there's nothing like > this because it's not needed. When the ruby interpreter shuts down, > the C runtime / OS cleans up anything opened during execution. And if you have any resources you need to clean up at ruby exit, you can do so by setting rb_set_end_proc() to your cleanup func. Jan