Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

internal_io_service not reset in stop() ? #54

Open
rberlich opened this issue Nov 28, 2016 · 1 comment
Open

internal_io_service not reset in stop() ? #54

rberlich opened this issue Nov 28, 2016 · 1 comment

Comments

@rberlich
Copy link

rberlich commented Nov 28, 2016

Hi there,
it appears as if the internal_io_service variable, while being set by SimpleWeb::start(), is not being reset to false by SimpleWeb::stop() ? Essentially I would expect stop() to return SimpleWeb into a pristine condition.
Kind Regards,
Beet

@eidheim
Copy link
Owner

eidheim commented Nov 28, 2016

The io_service does not need to be reconstructed on the second start(). If an external io_service is to be used, it has to be set before start() is called the first time.

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

No branches or pull requests

2 participants