mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-08-08 17:49:43 +00:00

The previous capture of the sync.OnceValue was re-initialized for each call to `Close`. This needed to be initialized during the creation of the session to ensure that the sync.OnceValue reference was held for the session's lifetime. Closes TUN-8775