Skip to content

Commit

Permalink
Merge pull request #335 from Dkamps18/bufferedchannel
Browse files Browse the repository at this point in the history
Buffered channel so vscode stops complaining and perhaps it saves a b…
  • Loading branch information
Xemdo authored Sep 2, 2024
2 parents 44481bd + d5f836f commit 52b9ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/events/websocket/mock_server/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func StartWebsocketServer(enableDebug bool, ip string, port int, enableSSL bool,
serverManager.primaryServer = initialServer.ServerId

// Allow exit with Ctrl + C
stop := make(chan os.Signal)
stop := make(chan os.Signal, 1)
signal.Notify(stop, os.Interrupt)

m := http.NewServeMux()
Expand Down

0 comments on commit 52b9ef9

Please sign in to comment.