Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
DocumentLifeCycleHandler should catch exception and clean up callbacks #8367
The DocumentLifeCycleHandler allows adding on_session_destroyed callbacks to a Document, which works pretty well. However if a single callback fails for whatever reason other callbacks won't be called. Additionally the references to the callbacks themselves may be prevent references from being collected, therefore the handler should delete the callbacks once it is done with them.