How do you notify an app that the active document is closed ?
Problem statement:
My app is currently listening to a state updater event:
SBSimulatorEvent::StateUpdateEnd
but when I close the document my app is not notified and tries to address some elements that are not anymore in the datagraph and therefore crash...