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

Network\Connection connect - Closure $beforeConnect not working #298

Open
r3l0c opened this issue Oct 22, 2019 · 0 comments
Open

Network\Connection connect - Closure $beforeConnect not working #298

r3l0c opened this issue Oct 22, 2019 · 0 comments

Comments

@r3l0c
Copy link

r3l0c commented Oct 22, 2019

$beforeConnect->call($this); not working with $this.
Possible solution(not tested):
1: replace $beforeConnect->call($this); with $beforeConnect();
2: Network\Pool connect: add $beforeConnect->bindTo($conn) after $conn = new $class(null, $this);

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

No branches or pull requests

1 participant