Skip to content

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

Open
@r3l0c

Description

$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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions