Skip to content

Change return type of terminate_pool callback to term()#51

Merged
josevalim merged 1 commit intodashbitco:mainfrom
NelsonVides:patch-1
Mar 21, 2026
Merged

Change return type of terminate_pool callback to term()#51
josevalim merged 1 commit intodashbitco:mainfrom
NelsonVides:patch-1

Conversation

@NelsonVides
Copy link
Copy Markdown
Contributor

The return value of this callback is actually entirely ignored, so it doesn't really matter what it returns. Making the return type a term() makes it consistent with gen_server and other generic behaviours' terminate/2 callbacks.

@josevalim josevalim merged commit ca7e7bd into dashbitco:main Mar 21, 2026
0 of 2 checks passed
@josevalim
Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

@NelsonVides NelsonVides deleted the patch-1 branch March 22, 2026 07:59
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.

2 participants