tzssangglass commented on issue #7131:
URL: https://github.com/apache/apisix/issues/7131#issuecomment-1138173280

   > For example, starting a new daemon / background process to support the 
processing of a worker process in the `init_worker` phase, and stopping it in 
the `exit_worker` phase.
   
   This does not require the use of `exit_worker`, there is a `destroy` phase 
in the plugin development architecture for unloading plugins.
   
   
https://github.com/apache/apisix/blob/ef9ba91a601d400ef4d43e0dd3378f1d98c3b7d9/apisix/plugins/example-plugin.lua#L71-L73
   
   In my experience, `exit_worker` is mainly used to clean up resources.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to