Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

close http server after WebSocketServer.close #612

Merged
merged 1 commit into from
Sep 3, 2014

Conversation

Lellansin
Copy link
Contributor

it's necessary to do this, or your http server is still running for period of time after you call Processor.close. Set httpServer = null wouldn't work. And wsServer.close wouldn't close the http server ( for more please see file node_modules\ws\lib\WebSocketServer.js : 111).
BTW, I have no effort to PR this problem for three times Orz.

it's necessary to do this, or your http server is still running for period of time after you call Processor.close. BTW, I have no effort to PR this problem for three times Orz.
xiecc added a commit that referenced this pull request Sep 3, 2014
close http server after WebSocketServer.close
@xiecc xiecc merged commit 37ac6a7 into NetEase:master Sep 3, 2014
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.

2 participants