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 exits
3. GC finalizes all objects, including the Stopper and it's members

but 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.

              • Re:... Steven Schveighoffer via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... jfondren via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... Steven Schveighoffer via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... Steven Schveighoffer via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... Steven Schveighoffer via Digitalmars-d-learn
              • Re:... eugene via Digitalmars-d-learn
              • Re:... jfondren via Digitalmars-d-learn
    • Re: Program crash: GC de... H. S. Teoh via Digitalmars-d-learn
  • Re: Program crash: GC destroy... eugene via Digitalmars-d-learn

Reply via email to