diff options
Diffstat (limited to 'src/runtime/export_debuglog_test.go')
| -rw-r--r-- | src/runtime/export_debuglog_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/export_debuglog_test.go b/src/runtime/export_debuglog_test.go index f12aab00de..04ac79f357 100644 --- a/src/runtime/export_debuglog_test.go +++ b/src/runtime/export_debuglog_test.go @@ -35,12 +35,12 @@ func DumpDebugLog() string { } func ResetDebugLog() { - stopTheWorld(stwForTestResetDebugLog) + stw := stopTheWorld(stwForTestResetDebugLog) for l := allDloggers; l != nil; l = l.allLink { l.w.write = 0 l.w.tick, l.w.nano = 0, 0 l.w.r.begin, l.w.r.end = 0, 0 l.w.r.tick, l.w.r.nano = 0, 0 } - startTheWorld() + startTheWorld(stw) } |
