It would appear the spec does not forbid the deactivate method from being called concurrently with the process method. This could lead to memory safety issues if the plugin tries to deallocate resources in its deactivate method while the process method is still using those resources.
So either:
A. In the deactivate method's docs, clarify that resources should NOT be cleaned up in this method.
or
B. Require that the process and deactivate methods not be called concurrently.
It would appear the spec does not forbid the
deactivatemethod from being called concurrently with theprocessmethod. This could lead to memory safety issues if the plugin tries to deallocate resources in itsdeactivatemethod while theprocessmethod is still using those resources.So either:
A. In the
deactivatemethod's docs, clarify that resources should NOT be cleaned up in this method.or
B. Require that the
processanddeactivatemethods not be called concurrently.