ipfs/kubo

Audit CoreAPI for cases where the context should be canceled internally

Open

#7 200 ouverte le 23 avr. 2020

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Go (2 725 forks)batch import
P3exp/intermediatehelp wantedkind/bug

Métriques du dépôt

Stars
 (13 906 stars)
Métriques de merge PR
 (Merge moyen 4j 2h) (28 PRs mergées en 30 j)

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.

Guide contributeur