Skip to content

Fixed potential bug in websocket_server.cc: WSInternalHandlerConfig::CreateHandlerRuntime#134

Open
jasonmnemonic wants to merge 1 commit into
kclyu:masterfrom
jasonmnemonic:bugfix/websocket-server
Open

Fixed potential bug in websocket_server.cc: WSInternalHandlerConfig::CreateHandlerRuntime#134
jasonmnemonic wants to merge 1 commit into
kclyu:masterfrom
jasonmnemonic:bugfix/websocket-server

Conversation

@jasonmnemonic

Copy link
Copy Markdown

Fixed potential bug in websocket_server.cc: WSInternalHandlerConfig::CreateHandlerRuntime

  • The logic for WSInternalHandlerConfig::CreateHandlerRuntime should be SINGLE_INSTANCE and not MULTIPLE_INSTANCE to match to the intent of the if-block.
  • Also removed a semicolon in WSInternalHandlerConfig::OnDisconnect.

…CreateHandlerRuntime

 * The logic for WSInternalHandlerConfig::CreateHandlerRuntime should be SINGLE_INSTANCE and not MULTIPLE_INSTANCE to match to the intent of the if-block.
 * Also removed a semicolon in WSInternalHandlerConfig::OnDisconnect.
@jasonmnemonic

Copy link
Copy Markdown
Author

This is related to #144.

Patch this then patch #144

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.

1 participant