[Asterisk-java-users] Suggestion for ManagerReader
Brought to you by:
srt
From: Brett S. <bs...@no...> - 2006-01-24 02:59:40
|
Just a thought. I might be a good idea to mark the ManagerReader threads as daemons as daemon threads won't stop an application shutting down if they are left hanging around. You can just add the following line just before you start the thread. (I usually just add it to the constructor). this.setDaemon(true); |