Skip to content

Commit

Permalink
Comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Melnichenko committed Oct 26, 2024
1 parent fd324c4 commit 2f69214
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ private void encode(EnqueuedMessage message) {

private void moveEncodedMessagesToSendingQueue() {
boolean haveNewMessagesToSend = false;
// Working with encodingMessages under synchronized incomingQueue to prevent deadlocks
// while working with free method
// Working with encodingMessages under incomingQueueLock to prevent deadlocks while working with free method
incomingQueueLock.lock();

try {
Expand Down

0 comments on commit 2f69214

Please sign in to comment.