When I call frame.destory on Windows XP, I am told that CodeLineStatistics/init.rb:5: [BUG] Segmentation fault ruby 1.8.6 (2007-03-13) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application''s support team for more information. What''s the correct way to close the frame? -- flyerhzm@hotmail.com _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
huang zhimin wrote:> When I call frame.destory on Windows XP, I am told that > > CodeLineStatistics/init.rb:5: [BUG] Segmentation fault > ruby 1.8.6 (2007-03-13) [i386-mswin32]WxRuby developers - should we even have a #destroy method in Ruby?> What''s the correct way to close the frame?I think frame.close() should be sufficient? alex
I got the problem. Because I create a DirDialog, but not destroy it. On 4/26/07, Alex Fenton <alex at pressure.to> wrote:> > huang zhimin wrote: > > When I call frame.destory on Windows XP, I am told that > > > > CodeLineStatistics/init.rb:5: [BUG] Segmentation fault > > ruby 1.8.6 (2007-03-13) [i386-mswin32] > WxRuby developers - should we even have a #destroy method in Ruby? > > What''s the correct way to close the frame? > I think frame.close() should be sufficient? > > alex > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-- flyerhzm at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20070426/38458f72/attachment.html