[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

ruby/tk: app do not finish

Ferenc Engard

10/26/2003 3:12:00 PM

Hello,

I write a multi-form app, and recently it started to behave strangely.
If there are two active toplevels, and I close the main toplevel, the
program exits normally. But, if (from the same state of the program) I
withdraw the 2nd toplevel, and after that I close the main toplevel,
then 4 out of 5 times the toplevel disappear, but the program do not
finish, and I have to kill it with SIGTERM. I do not know what did I do
that bring up this bug, but I have upgraded ruby recently; it is
possible, that the upgrade caused this.

I use the 'trap 0, proc { sleep 0.1 }' workaround.

ruby 1.8.0 (2003-10-05) [i386-linux], display: X-Win32.

Thanks:
Ferenc

PS: What is the correct grammar for that '4 out of 5 times'? Or is it
correct?