ipfs/kubo

Audit CoreAPI for cases where the context should be canceled internally

Open

#7,200 建立於 2020年4月23日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Go (13,906 star) (2,725 fork)batch import
P3exp/intermediatehelp wantedkind/bug

描述

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.

貢獻者指南