Skip to content

Synchronize loop over channels. - #28

Merged
eoinsha merged 1 commit into
eoinsha:masterfrom
martinotten:bugfix/synchronize-channel-loop
Sep 16, 2016
Merged

eoinsha merged 1 commit into
eoinsha:masterfrom
martinotten:bugfix/synchronize-channel-loop

Conversation

@martinotten

Copy link
Copy Markdown
Contributor

The for loop in src/main/java/org/phoenixframework/channels/Socket.java could cause an ConcurrentModificationException in our project. The synchronized block should prevent that.

Extracted from #27

@eoinsha
eoinsha merged commit eed65a5 into eoinsha:master Sep 16, 2016
@martinotten
martinotten deleted the bugfix/synchronize-channel-loop branch September 16, 2016 20:11
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

Successfully merging this pull request may close these issues.

2 participants