Erik Grinaker
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
abci/client/grpc_client.go
|
|
@ -132,11 +132,11 @@ func (cli *grpcClient) OnStop() { |
|
|
|
} |
|
|
|
|
|
|
|
func (cli *grpcClient) StopForError(err error) { |
|
|
|
cli.mtx.Lock() |
|
|
|
if !cli.IsRunning() { |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
cli.mtx.Lock() |
|
|
|
if cli.err == nil { |
|
|
|
cli.err = err |
|
|
|
} |
|
|
|