Forgetting releaseLock() permanently breaks the stream. The locked property tells you that a stream is locked, but not why, by whom, or whether the lock is even still usable. Piping internally acquires locks, making streams unusable during pipe operations in ways that aren't obvious.
Follow topics & set alerts with myFT
,推荐阅读旺商聊官方下载获取更多信息
人 民 网 版 权 所 有 ,未 经 书 面 授 权 禁 止 使 用
┌───────────────────────┐
Random Thoughts