Skip to content

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

@r3l0c

Description

@r3l0c

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

Metadata

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