Merge branch 'master' of https://github.com/micro/go-micro into runtime-multitenancy
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| # Go Micro [](https://opensource.org/licenses/Apache-2.0) [](https://pkg.go.dev/github.com/micro/go-micro?tab=doc) [](https://travis-ci.org/micro/go-micro) [](https://goreportcard.com/report/github.com/micro/go-micro) | ||||
| # Go Micro [](https://opensource.org/licenses/Apache-2.0) [](https://pkg.go.dev/github.com/micro/go-micro?tab=doc) [](https://travis-ci.org/micro/go-micro) [](https://goreportcard.com/report/github.com/micro/go-micro) <a href="https://slack.micro.mu"><img src="https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen" alt="Slack Widget"></a> | ||||
|  | ||||
| Go Micro is a framework for distributed systems development. | ||||
|  | ||||
|   | ||||
| @@ -130,15 +130,15 @@ func (r *rpcStream) Error() error { | ||||
| } | ||||
|  | ||||
| func (r *rpcStream) Close() error { | ||||
| 	r.RLock() | ||||
| 	r.Lock() | ||||
|  | ||||
| 	select { | ||||
| 	case <-r.closed: | ||||
| 		r.RUnlock() | ||||
| 		r.Unlock() | ||||
| 		return nil | ||||
| 	default: | ||||
| 		close(r.closed) | ||||
| 		r.RUnlock() | ||||
| 		r.Unlock() | ||||
|  | ||||
| 		// send the end of stream message | ||||
| 		if r.sendEOS { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user