Skip to content
Snippets Groups Projects
Unverified Commit f602ba60 authored by meskio's avatar meskio :tent:
Browse files

Close the error channel

parent 66fa9972
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,9 @@ func (ss *ShapeShifter) Close() error {
if ss.ln != nil {
return ss.ln.Close()
}
if ss.errChan != nil {
close(ss.errChan)
}
return nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment