Skip to content

Synchronize the readState field#809

Merged
PhilipRoman merged 1 commit intoTooTallNate:masterfrom
fightyz:bugfix/readystate-synchronize
Nov 15, 2018
Merged

Synchronize the readState field#809
PhilipRoman merged 1 commit intoTooTallNate:masterfrom
fightyz:bugfix/readystate-synchronize

Conversation

@fightyz
Copy link
Copy Markdown

@fightyz fightyz commented Nov 11, 2018

Description

Adding a key word volatile to avoid non thread-safe checking of WebSocketImpl.readyState.

Related Issue

Checking field WebSocketImpl.readyState is non thread-safe #808

@PhilipRoman
Copy link
Copy Markdown
Collaborator

Issue confirmed, suggested fix seems good.

@PhilipRoman
Copy link
Copy Markdown
Collaborator

Since it's been open for a while and no one has said anything, I'm going to merge this.

@PhilipRoman PhilipRoman merged commit a8bc1bf into TooTallNate:master Nov 15, 2018
@fightyz fightyz deleted the bugfix/readystate-synchronize branch November 15, 2018 12:23
@marci4 marci4 added this to the Release 1.4.0 milestone Dec 11, 2018
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.

3 participants