From: gga Date: 2007-03-11T18:50:07+09:00 Subject: Re: Is an embedded ruby interpreter safe to unload On 10 mar, 20:51, Lothar Scholz wrote: > Hello ruby-talk, > > when i use ruby embedded in a program where i call "ruby_init", do a > few ruby magics and then call "ruby_finalize". > > Will this free all used memory? > You want to call ruby_cleanup(0); instead, like ruby_stop() does. ruby_finalize() does not deal with threads.