[furcas-discussion] [IMP] Incremental Lexer Crashes]

Stephan Erb stephan at dev.static-void.de
Fri Feb 11 15:40:18 CET 2011


> Did I miss something? Which of the horrible EMF element lifecycle
> aspects was at fault and how?

Well, we maintain three versions of a TextBlocks model. Each
DocumentNode in one of these versions references its two counterparts in
the other versions.

In MOIN we simply used to recursively delete one version of the model.
In EMF delete only removes from the composite parent. Thus, for a full
delete of a version of the TextBlocks model, we also have to walk all
other versions and delete the references to the version that we want to
delete.

Ugly :-)







More information about the Furcas-discussion mailing list