Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: force-delete-pool event is not empty #26

Merged
merged 1 commit into from
Dec 23, 2021
Merged

Conversation

zhongwencool
Copy link
Contributor

(emqx@x)77> gproc_pool:delete(ehttpc:name(emqx_modules_acl_http)).
** exception error: not_empty
     in function  gproc_pool:call/1 (gproc_pool.erl, line 636)
(emqx@x)78> gproc_pool:delete(ehttpc:name(emqx_modules_supper_http)).
** exception error: not_empty
     in function  gproc_pool:call/1 (gproc_pool.erl, line 636)
(emqx@x)79> gproc_pool:force_delete(ehttpc:name(emqx_modules_supper_http)).
true
(emqx@x)82> gproc_pool:force_delete(ehttpc:name(emqx_modules_acl_http)).
true
(emqx@x)83> gproc_pool:force_delete(ehttpc:name(emqx_modules_auth_http)).
true

Sometimes the pool can't be deleted when is not empty. we must force_delete it.

@zhongwencool zhongwencool merged commit e1fd165 into main Dec 23, 2021
@zhongwencool zhongwencool deleted the force-delete-pool branch December 23, 2021 09:30
@zmstone
Copy link
Member

zmstone commented Dec 23, 2021

appup

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