Skip to content

Commit

Permalink
fix: config
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu committed Dec 25, 2024
1 parent 54c6397 commit ccdd6d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/msggateway/ws_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,15 @@ func (ws *WsServer) Run(done chan error) error {
var err error
select {
case err = <-done:
fmt.Println("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
if err := shutDown(); err != nil {
return err
}
if err != nil {
return err
}
case <-netDone:
fmt.Println("BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB")
}
return netErr

Expand Down

0 comments on commit ccdd6d5

Please sign in to comment.