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 c0d4c26 commit 81af37f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/msggateway/ws_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ func (ws *WsServer) Run(done chan error) error {
if sErr != nil {
return errs.WrapMsg(sErr, "shutdown err")
}
fmt.Println("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
close(shutdownDone)
fmt.Println("BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB")
return nil
}
etcd.RegisterShutDown(shutDown)
Expand All @@ -206,7 +209,6 @@ func (ws *WsServer) Run(done chan error) error {
if err := shutDown(); err != nil {
return err
}
close(shutdownDone)
if err != nil {
return err
}
Expand Down

0 comments on commit 81af37f

Please sign in to comment.