Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Optimize the connection steps #624

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sszllx
Copy link

@sszllx sszllx commented Dec 8, 2017

When initiating a connection, there is no need to disconnect the previous connection.

@librehat
Copy link
Contributor

Do we stop the previous connection? I also don't see a need to have it as a member function. You can just write it in place with C++'s find_if with lambda

@librehat librehat closed this Dec 10, 2017
@librehat librehat reopened this Dec 10, 2017
Copy link
Contributor

@librehat librehat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As previous comment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants