aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2025-04-01 15:43:22 -0700
committerGopher Robot <gobot@golang.org>2025-05-07 13:14:25 -0700
commitd6c8bedc7b3d2de7714dca75bd05912b371538f1 (patch)
tree352d43791d26d75bed756a7b02ef69b872483872 /src/runtime/runtime2.go
parent4e63ae46e097062b72424b2ac1da6e7dac33064b (diff)
downloadgo-d6c8bedc7b3d2de7714dca75bd05912b371538f1.tar.xz
runtime, testing/synctest: stop advancing time when main goroutine exits
Once the goroutine started by synctest.Run exits, stop advancing the fake clock in its bubble. This avoids confusing situations where a bubble remains alive indefinitely while a background goroutine reads from a time.Ticker or otherwise advances the clock. For #67434 Change-Id: Id608ffe3c7d7b07747b56a21f365787fb9a057d7 Reviewed-on: https://go-review.googlesource.com/c/go/+/662155 Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/runtime/runtime2.go')
0 files changed, 0 insertions, 0 deletions