ipfs/kubo

Audit CoreAPI for cases where the context should be canceled internally

Open

#7.200 aberto em 23 de abr. de 2020

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Go (2.725 forks)batch import
P3exp/intermediatehelp wantedkind/bug

Métricas do repositório

Stars
 (13.906 stars)
Métricas de merge de PR
 (Mesclagem média 4d 2h) (28 fundiu PRs em 30d)

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.

Guia do colaborador