ipfs/kubo

Audit CoreAPI for cases where the context should be canceled internally

Open

#7200 aperta il 23 apr 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Go (2725 fork)batch import
P3exp/intermediatehelp wantedkind/bug

Metriche repository

Star
 (13.906 star)
Metriche merge PR
 (Merge medio 4g 2h) (28 PR mergiate in 30 g)

Descrizione

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.

Guida contributor