From: Aakash Dev <lists / ruby-forum.com>
Subject: Re: Getting runtime error while using Tk.restart
Date: Fri, 8 Jun 2012 15:55:17 +0900
Message-ID: <a5aa7df2a379700737a94f043f53a397 / ruby-forum.com>

> Any update on this ?

I'm sorry, but Tk.restart may not be stable.
I recommend you to use "Tk.root.withdraw" to hide the window,
or "Tk.root.winfo_children.each{|w| w.destroy}" to clean up widgets.
-- 
Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)
Department of Artificial Intelligence, Kyushu Institute of Technology