good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 89fde59a authored by Evolution404's avatar Evolution404 Committed by GitHub
Browse files

node: fix stopping websocket rpc.Server (#23211)

parent f0b1bdda
No related branches found
No related tags found
No related merge requests found
......@@ -251,7 +251,7 @@ func (h *httpServer) doStop() {
// Shut down the server.
httpHandler := h.httpHandler.Load().(*rpcHandler)
wsHandler := h.httpHandler.Load().(*rpcHandler)
wsHandler := h.wsHandler.Load().(*rpcHandler)
if httpHandler != nil {
h.httpHandler.Store((*rpcHandler)(nil))
httpHandler.server.Stop()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment