piv-agent icon indicating copy to clipboard operation
piv-agent copied to clipboard

Switch to time.ExternalNow() in exit timer

Open smlx opened this issue 3 years ago • 0 comments

This API allows using CLOCK_BOOTTIME instead of CLOCK_MONOTONIC in the exit timer and thus correctly exiting after a long period of suspend.

https://github.com/golang/go/issues/36141#issuecomment-828667067

Looks like it will be introduced in Go 1.18-ish.

smlx avatar Sep 19 '21 06:09 smlx