ObeoNetwork / POOSL

Eclipse Public License 2.0
1 stars 0 forks source link

HelperFunctions holds a static instance #52

Closed mypsycho closed 2 years ago

mypsycho commented 3 years ago

org.eclipse.poosl.xtext.helpers.HelperFunctions#globalScopeProvider is static value link to the 1rst loaded resource.

A comment hints about a duplicated provider. Maybe they accessed an injector the wrong way.

We are exposed to a memory leak or memory loss.

This was only detected running Xpect in maven.

mypsycho commented 3 years ago

For maintenance cost, priority is lesser than and related to #71 (No EReference)

mypsycho commented 2 years ago

The helper function is also linked to similar class like