Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Update Server.java #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

redcreen
Copy link

  1. newChannels.add - >newChannels.put
    "newChannels.add" while not block when queue is full.
  2. channel.close();
    addChannelToQueue(newChannels.add) may throw IllegalStateException(queue full) , then the channel may leak.

1. newChannels.add - >newChannels.put 
"newChannels.add" while not block when queue is full.
2. channel.close();
addChannelToQueue(newChannels.add) may throw IllegalStateException(queue full) , then the channel may leak.
@redcreen
Copy link
Author

ipc server reader queue may cause channel leak ?

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

Successfully merging this pull request may close these issues.

1 participant