You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In TLSMessageProcessor class, in run() method, below line creates object to TLSMessageChannel
TLSMessageChannel newChannel = new TLSMessageChannel(newsock, sipStack, this, "TLSMessageChannelThread-" + nConnections);
which in turn creates a thread and start it in constructor itself, which is not good practice since as most of the time, it will end up with an escaped this reference, either explicitly or implicitly.
Because of this, incomingMessageChannel map is not updated with values.
The text was updated successfully, but these errors were encountered:
In TLSMessageProcessor class, in run() method, below line creates object to TLSMessageChannel
TLSMessageChannel newChannel = new TLSMessageChannel(newsock, sipStack, this, "TLSMessageChannelThread-" + nConnections);
which in turn creates a thread and start it in constructor itself, which is not good practice since as most of the time, it will end up with an escaped this reference, either explicitly or implicitly.
Because of this, incomingMessageChannel map is not updated with values.
The text was updated successfully, but these errors were encountered: