mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
add TODO
This commit is contained in:
parent
3c2b6d1205
commit
eeec8ab3d7
@ -479,6 +479,8 @@ func (i *cmdInvocation) setupInterruptHandler() {
|
||||
for count := 0; ; count++ {
|
||||
<-sig
|
||||
|
||||
// TODO cancel the command context instead
|
||||
|
||||
n, err := ctx.GetNode()
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user