Hi, I have written a HTTP plugin to Traffic Server but I cannot work out how to detect when the plugin is unloaded. I need this information so I can un-initialise all of my objects and close files, etc. Is there anyway of acheiving this? I have tried using on_exit, atexit, __attribute__((destructor)) but it never seems to call them. I can catch the signal SIGTERM but it is too late by then. I am using 'trafficserver stop' to stop it.
Thank-you, Chris Reynolds.