Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

transport: file, race condition in Session.Close after context canceled #508

Closed
mcuadros opened this issue Jul 25, 2017 · 1 comment
Closed

Comments

@mcuadros
Copy link
Contributor

A race is detected on test of transport/file, when the session is Close, and the context is canceled.

This happens due to a goroutine still reading from the stderr.

Introduced by #507

@jfontan
Copy link
Contributor

jfontan commented Apr 16, 2018

I'm not able to reproduce the race in current version or the errors in tests from fbf2a4a: https://travis-ci.org/src-d/go-git/jobs/257287484#L1142-L1146.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants