Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
ce0d2f46
Commit
ce0d2f46
authored
9 years ago
by
Jeromy
Committed by
Juan Batiz-Benet
9 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
defer tock.Stop()
parent
2f934e8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
exchange/bitswap/wantmanager.go
exchange/bitswap/wantmanager.go
+1
-0
No files found.
exchange/bitswap/wantmanager.go
View file @
ce0d2f46
...
...
@@ -178,6 +178,7 @@ func (pm *WantManager) Disconnected(p peer.ID) {
// TODO: use goprocess here once i trust it
func
(
pm
*
WantManager
)
Run
()
{
tock
:=
time
.
NewTicker
(
rebroadcastDelay
.
Get
())
defer
tock
.
Stop
()
for
{
select
{
case
entries
:=
<-
pm
.
incoming
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment