On 10 mar, 20:51, Lothar Scholz <mailingli...@scriptolutions.com>
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.