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
Merge pull request
#10
from tendermint/recreate-quit-channel-on-reset
Recreate Quit channel on reset
pull/1842/head
Ethan Buchman
8 years ago
committed by
GitHub
parent
75a539ae3d
7a12594edb
commit
6af2364fa9
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
service.go
+ 1
- 0
service.go
View File
@ -136,6 +136,7 @@ func (bs *BaseService) Reset() (bool, error) {
// whether or not we've started, we can reset
atomic
.
CompareAndSwapUint32
(
&
bs
.
started
,
1
,
0
)
bs
.
Quit
=
make
(
chan
struct
{
}
)
return
true
,
bs
.
impl
.
OnReset
(
)
}
else
{
if
bs
.
log
!=
nil
{
Write
Preview
Loading…
Cancel
Save