ipfs/kubo

Audit CoreAPI for cases where the context should be canceled internally

Open

#7,200 opened on Apr 23, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Go (13,906 stars) (2,725 forks)batch import
P3exp/intermediatehelp wantedkind/bug

Description

Version information:

v0.5.0-rc3

Description:

There are several places in the CoreAPI (e.g., Ls) where we're assuming the context will be canceled when the caller is done. If that doesn't happen, we won't cleanup some resources.

Luckily, we are canceling these contexts. However, we shouldn't require that.

Contributor guide