Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.4.2AS
-
None
Description
When quiescing, the UIMA-AS is not blocking waiting for AE.destroy() method to finish. Instead it waits for all CASes to finish and then returns. The consequence is that user code in destroy() may not run to completion if the jvm is stopping due to System.exit() call. It looks like, when shutdown hooks are registered, the jvm runs them to completion and then halts.
Modify quiesce() method to block for all Process threads to finish before returning.