For anyone interested: Seems like the `onClose` callback is only implemented for closing scopes, bu...
r
For anyone interested: Seems like the
onClose
callback is only implemented for closing scopes, but for definitions on the root scope it seems that it is actually not executed, so
unloadModules
will not call
onClose
on your definitions. Please correct me if I'm wrong.