issue_179 #180
							
								
								
									
										7
									
								
								http.go
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								http.go
									
									
									
									
									
								
							@@ -549,10 +549,9 @@ func (h *Server) Start() error {
 | 
				
			|||||||
			config.Logger.Errorf(config.Context, "Server deregister error: %s", err)
 | 
								config.Logger.Errorf(config.Context, "Server deregister error: %s", err)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		// err ignore and empty cotnext
 | 
							//  empty context
 | 
				
			||||||
		hs.Shutdown(context.Background())
 | 
							// TODO ts.Listener is sopped?
 | 
				
			||||||
 | 
							ch <- hs.Shutdown(context.Background())
 | 
				
			||||||
		ch <- ts.Close()
 | 
					 | 
				
			||||||
	}()
 | 
						}()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return nil
 | 
						return nil
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user