-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made a function to close the websocket server
The function returns 1 if the server was running 0 otherwise, this is used by the caller to increase the number of things to wait for on shutdown. Did capture the server under the lock and close outside - just in case. Signed-off-by: Ivan Kozlovic <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters