When running the debug tool, a new SessionSerializer instance is created for every request, but once the serialization/deserialization process finishes the internal executor service is not stopped.
This change stops the executor service in the ContextClosedEvent, and it forces the listener to be called also by the debug tool.
When running the debug tool, a new SessionSerializer instance is created for every request, but once the serialization/deserialization process finishes the internal executor service is not stopped. This change stops the executor service in the ContextClosedEvent, and it forces the listener to be called also by the debug tool.