I have a stand-alone integration written mostly in java+akka that uses akka.testkit.ExplicitlyTriggeredScheduler.
The following stops quickly as I expect:
public class Simulator {
public static void main(String[] args) {
// ...
system.terminate();
System.exit(0); // quickly exits
}
}
But if I remove the System.exit(0) the system takes about 1 minute after the last INFO message that the scheduler is stopped. What is happening in this 1 minute? How can I trace any hooks akka might have after main is done?
6 posts - 2 participants