Simple-WebSocket-Server icon indicating copy to clipboard operation
Simple-WebSocket-Server copied to clipboard

internal_io_service not reset in stop() ?

Open rberlich opened this issue 9 years ago • 1 comments

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

rberlich avatar Nov 28 '16 13:11 rberlich

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.

eidheim avatar Nov 28 '16 13:11 eidheim