Server shutdown after use of websocket
sgallou opened this issue · comments
Sébastien Gallou commented
Hi,
I face a similar issue as this one for oatpp main project with websocket : when shutting down the server after websocket usage, existing connection handler tasks are not stopped (ConnectionHandler::stop() do nothing and ConnectionHandler::Task instances are detached threads).
Is there a way to gracefully close websocket connections without to exit the app ?
Context :
- Visual Studio 2019
- No use of OATPP macros
Thanks,