I have Qt console server application. I wish when somebody presses Ctrl+C to quit my server correctly (calling destructors, etc.). I've read this, however I want this to work on both Linux and Windows. How to do it?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With