Details
Description
solr can support the self listener, but only register the listener in the core load, but don't have destroy function while core close/server shutdown.
SolrEventListener can provide the destroy function to be invoked by core close, that can destroy listener resource. (Thread or Cache or others)