You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
@daaku
I assume inherit() use LISTEN_FDS util it finish, so unset LISTEN_FDS when it finish make sense to me.
But Yes, you are right, just add os.Unsetenv(envCountKey) in line 52 is ok.
b72c975
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it in a
defer
?b72c975
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daaku
I assume inherit() use LISTEN_FDS util it finish, so unset LISTEN_FDS when it finish make sense to me.
But Yes, you are right, just add
os.Unsetenv(envCountKey)
in line 52 is ok.