lnwallet/sigpool: exit SubmitSignBatch on quit

This commit is contained in:
Johan T. Halseth committed 2018-02-02 21:16:38 -05:00
1 parent 12d3327833
commit 9f2ec87ed6
1 file changed
+2
+2
View File
@@ -259,6 +259,8 @@ func (s *sigPool) SubmitSignBatch(signJobs []signJob) {
case s.signJobs <- job:
case <-job.cancel:
// TODO(roasbeef): return error?
case <-s.quit:
return
}
}
}