noreply at rubyforge.org
2009-Feb-07 17:43 UTC
[wxruby-development] [ wxruby-Bugs-23844 ] DataObjects on Clipboard are not protected
Bugs item #23844, was opened at 2009-02-07 17:43 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=23844&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 4 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: DataObjects on Clipboard are not protected Initial Comment: DataObjects are directors so the ruby object must be preserved once it''s been set to the Clipboard (and also DropSource, presumably) At present they will get swept by GC and then a segfault will occur on the next call which tries to retrieve data. See http://rubyforge.org/pipermail/wxruby-users/2009-January/004490.html ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=23844&group_id=35