Why does GlobalComponentRegistry have a shutdown hook? It's not runnable on its own,
like Infinispan servers are, so I don't see the point of a shutdown hook there. Any
cleanup, which should be done within stop() is already called via DCM.stop().
This, together with the changes introduced by
https://jira.jboss.org/browse/ISPN-771 are
causing issues in standalone environments where other shutdown hooks run, i.e. when you do
kill -3 on an Infinispan server
See
https://jira.jboss.org/browse/ISPN-779
Cheers,
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache