method is called and the problem is that it's called twice - when the signal to terminate a program is sent and after unblocking the thread before shutting down the server. You can use a flag to run your code only once in an event handler.
s
Scott Rankin
05/22/2023, 4:41 PM
Thanks for the reply. I will add some logic to try to insure my stuff only runs once.