// Close closes the testing server graceful.
Close closes the testing server graceful.
// Close closes the testing server graceful .
func (instance *TestingHttpServer) Close() {
	defer func() {
		instance.listener = nil
		instance.server = nil
		instance.mux = nil
	}()
	if instance.listener != nil {
		instance.listener.Close()
	}
}
func ( instance * TestingHttpServer ) Close ( ) { defer func ( ) { instance . listener = nil instance . server = nil instance . mux = nil } ( ) if instance . listener != nil { instance . listener . Close ( ) } }
Close closes the testing server graceful.
Close closes the testing server graceful .