diff options
| author | Damien Neil <dneil@google.com> | 2025-04-01 15:43:22 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-05-07 13:14:25 -0700 |
| commit | d6c8bedc7b3d2de7714dca75bd05912b371538f1 (patch) | |
| tree | 352d43791d26d75bed756a7b02ef69b872483872 /src/runtime/traceback.go | |
| parent | 4e63ae46e097062b72424b2ac1da6e7dac33064b (diff) | |
| download | go-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/traceback.go')
0 files changed, 0 insertions, 0 deletions
