a78df1d874
The bug was caused by os.File's finalizer, which closes the file. Because fsgofer.serve() was passed a file descriptor as an int rather than a os.File, callers would pass os.File.Fd(), and the os.File would go out of scope. Thus, the file would get GC'd and finalized nondeterministically, causing failures when the file was used. PiperOrigin-RevId: 209861834 Change-Id: Idf24d5c1f04c9b28659e62c97202ab3b4d72e994 |
||
---|---|---|
.. | ||
BUILD | ||
container.go | ||
container_test.go | ||
hook.go | ||
status.go | ||
uds_test_app.go |