openlvc / portico

Portico is an open source, cross-platform, fully supported HLA RTI implementation. Designed with modularity and flexibility in mind, Portico is a production-grade RTI for the Simulation and Training Community, so come say hi!
http://www.porticoproject.org
151 stars 81 forks source link

LRC will hold threads open after disconnect() call when HLA_IMMEDIATE is used #302

Closed timpokorny closed 4 years ago

timpokorny commented 4 years ago

The ImmediateCallbackDispatcher is used to constantly poll the LRC message queue and deliver callbacks to federates as they are received when the federate is in 1516e's HLA_IMMEDIATE mode for callbacks (vice EVOKED).

The thread was not a daemon, and thus was keeping JVMs alive when they probably should not have been. From memory, I think there was a reason for this, but the test suite was clear, so YOLO.