Skip to content

php: fix channel wrapper leak#14130

Merged
stanley-cheung merged 1 commit intogrpc:masterfrom
ZhouyihaiDing:wrapper_leak
Jan 24, 2018
Merged

php: fix channel wrapper leak#14130
stanley-cheung merged 1 commit intogrpc:masterfrom
ZhouyihaiDing:wrapper_leak

Conversation

@ZhouyihaiDing
Copy link
Copy Markdown
Contributor

@ZhouyihaiDing ZhouyihaiDing commented Jan 22, 2018

It is split from PR.
There wasn't place to free channel wrapper allocated here.
In php-fpm mode, each time a channel_wrapper is created, it remains there.

Another solution is use R_SHUTDOWN function to free them after each request.

@ZhouyihaiDing ZhouyihaiDing force-pushed the wrapper_leak branch 2 times, most recently from 7759c5c to 3b4e2de Compare January 23, 2018 22:06
@stanley-cheung stanley-cheung merged commit 1d8ab5a into grpc:master Jan 24, 2018
stanley-cheung added a commit that referenced this pull request Jan 24, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants