marek-sezemsky / jss7

Automatically exported from code.google.com/p/jss7
0 stars 0 forks source link

The ExecutorService in CpuThread class is never shut down #339

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start the scheduler
2. Stop the scheduler

What is the expected output? What do you see instead?
The ExecutorService used in CpuThread is exepected to shut down and release the 
allocated threads (2 per cpu/core) - but it doesn't. This is a leak which also 
prevents the VM from shutting down clean.

What version of the product are you using? On what operating system?
2.1.0-FINAL

Please provide any additional information below.
Suggested fix is to shut down the executor service in shutdown()-method. (Some 
re-factoring in place if you would be able to "re-start the thread" using 
activate())

Original issue reported on code.google.com by rics...@gmail.com on 27 May 2015 at 9:09

GoogleCodeExporter commented 9 years ago
Perhaps I wasn't clear enough regarding "scheduler". I'm talking about the 
class org.mobicents.protocols.ss7.scheduler.Scheduler in POM 
org.mobicents.protocols.ss7.scheduler:scheduler

Original comment by rics...@gmail.com on 27 May 2015 at 10:41