This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
abci/grpc: fix invalid mutex handling in StopForError() (
#5849
)
Fixes
#5840
.
pull/5893/head
Erik Grinaker
4 years ago
committed by
Erik Grinaker
parent
4246000a8c
commit
c2b5f8bc4a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
abci/client/grpc_client.go
+ 1
- 1
abci/client/grpc_client.go
View File
@ -129,11 +129,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
}
Write
Preview
Loading…
Cancel
Save