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

Corrected parameter to socket resource destructor call. #34

Merged

Conversation

kernelguy
Copy link

I have finally got around to test the refcount solution and it seems to work in my tests.
The compiler warned about a wrong parameter type so I have changed the destructor call slightly.

It is now possible to use the return value from getSocket in php socket calls, like socket_select.
It also works with reactphp, using libevent as engine.

@bbcmgdm
Copy link

bbcmgdm commented Apr 11, 2016

Great, thanks for that! I'll give it a shot myself tonight and merge it then all being well.

@mgdm mgdm merged commit 67a0b53 into mgdm:refcount-socket-resources Apr 11, 2016
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.

3 participants