On Thursday, 23 September 2021 at 17:49:43 UTC, eugene wrote:
On Thursday, 23 September 2021 at 17:20:18 UTC, Steven Schveighoffer wrote:1. ctrl-c, signal handler triggers, shutting down the loop 2. main exits3. GC finalizes all objects, including the Stopper and it's membersbut both SIGINT and SIGTERM are still **blocked**, they just will not reach the process.
oops..closing epoll fd should be moved from EventQueue dtor to stop() method,
then everything will be Ok.