Skip to content

Conversation

kanataxa
Copy link
Contributor

@kanataxa kanataxa commented Jan 4, 2021

Call defer in a function scope instead of in a loop because a defer statement defers the execution of a function until the surrounding function returns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant