jbossas/jboss-as — pull request #1753 by sguilhen (2012-03-07 19:30:45+00:00)
Title: AS7-3340 Destroy only the RootPOA on service shutdown.

By terminating only parent POAs (such as RootPOA) we make sure we don't run into race conditions that can lead to an NPE when a parent POA is iterating through its children in order to destroy them. JacORB's POA destruction code handles child POA destruction for us.