Sorry -- let me clarify. If the <data> was either released in a
different thread or if <data> were explicitly released in the above
code, then you would see the same crash. I didn't mean to imply
that <data> would be released under non-GC without some explicit
action being taken.
Under GC, the situation isn't quite so clear.
That makes perfect sense. Sorry that I glossed over the 'other
thread' bit.