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
Close rdy channel
+ close `rdy` channel to ensure that calls to `<-ready()` will always return if the routine is ready
pull/3878/head
Sean Braithwaite
5 years ago
parent
f81c319ece
commit
9d41770a99
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
blockchain/v2/routine.go
+ 1
- 1
blockchain/v2/routine.go
View File
@ -67,7 +67,7 @@ func (rt *Routine) start() {
if
!
starting
{
panic
(
"Routine has already started"
)
}
rt
.
rdy
<-
struct
{
}
{
}
close
(
rt
.
rdy
)
errorsDrained
:=
false
for
{
if
!
rt
.
isRunning
(
)
{
Write
Preview
Loading…
Cancel
Save