Reminder for disposal strategies for new Context system when ready #1737

Cervator opened this Issue May 23, 2015 · 1 comment


None yet

3 participants

Cervator commented May 23, 2015 edited

As discussed in #1727 - a reminder for when we're ready to work more specifically on disposal with the new Context concept. Possibility of contexts going out of scope - how to dispose what they reference, if at all? Maybe make an AutoCloseable of some sort available if desired?

Sort of related: #1296 & @emanuele3d has expressed interest in learning more later

@flo flo was assigned by Cervator May 23, 2015
@Cervator Cervator added this to the Alpha! milestone May 23, 2015

In general Context can hold any sort of object, so there's no defined interface for it to hook off of for cleanup.

Possibly the Context could have special handling of anything registered that implements Closable (rather than Autoclosable which is a special case), disposing them when the context itself is disposed.

@Cervator Cervator modified the milestone: Alpha! Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment