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
4a59b557
Commit
4a59b557
authored
May 12, 2018
by
Alec Brickner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix goroutine leak in dag put
License: MIT Signed-off-by:
Alec Brickner
<
alecjbrick@gmail.com
>
parent
fc4ace28
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
core/commands/dag/dag.go
core/commands/dag/dag.go
+6
-1
No files found.
core/commands/dag/dag.go
View file @
4a59b557
...
@@ -128,7 +128,12 @@ into an object of the specified format.
...
@@ -128,7 +128,12 @@ into an object of the specified format.
cid
:=
nds
[
0
]
.
Cid
()
cid
:=
nds
[
0
]
.
Cid
()
cids
.
Add
(
cid
)
cids
.
Add
(
cid
)
outChan
<-
&
OutputObject
{
Cid
:
cid
}
select
{
case
outChan
<-
&
OutputObject
{
Cid
:
cid
}
:
case
<-
req
.
Context
()
.
Done
()
:
return
nil
}
}
}
if
err
:=
b
.
Commit
();
err
!=
nil
{
if
err
:=
b
.
Commit
();
err
!=
nil
{
...
...
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