Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incomingMessageChannel is not updated #199

Open
Monika-Rajendran-97 opened this issue Apr 20, 2023 · 0 comments
Open

incomingMessageChannel is not updated #199

Monika-Rajendran-97 opened this issue Apr 20, 2023 · 0 comments

Comments

@Monika-Rajendran-97
Copy link

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.

Screenshot 2023-04-20 at 4 52 35 PM

Screenshot 2023-04-20 at 4 54 16 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant