If code creates a creates a context with EclipseContextFactory then
they should  dispose  it when they're done with it.  i.e. in our
model/renderer code we have to create and dispose the context.  We use
the pattern with IDisposable (as you found :-)

if (context implements IDisposable) {
  ((IDisposable)context).dispose();
}

PW

-- 
Paul Webster
Hi floor.  Make me a sammich! - GIR
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to