os: TestRootConcurrentClose fails when runtime.AddCleanup is used #71117
Labels
arch-wasm
WebAssembly issues
Bug
Issues describing a bug in the Go implementation.
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
While in the process of replacing the use of runtime.SetFinalizer with runtime.AddCleanup (#70907) in the
os
package, the TestRootConcurrentClose tests started failing. An investigation into the build error on go.dev/cl/638555 showed that on thegotip-wasip1-wasm_wazero
builder,TestRootConcurrentClose
fails because the goroutine that is spawned runs continuously and never allows the the original function to continue processing.This seems related to #65178.
@golang/wasm
The text was updated successfully, but these errors were encountered: