# HG changeset patch
# User jfp <jf.pieronne@laposte.net>
# Date 1685549606 -7200
#      Wed May 31 18:13:26 2023 +0200
# Node ID 23261701aab2b6765974127fb3e8d6b1cfec2bd7
# Parent  5e064f2183a29bbff5111b3d50314edc9c1e732a
If the program is stopping ignore any stop request

diff --git a/supervisord.py b/supervisord.py
--- a/supervisord.py
+++ b/supervisord.py
@@ -495,7 +495,7 @@
         )
 
     def kill(self):
-        if self.process_is_stopped():
+        if self.process_is_stopped() or self.process_is_stopping():
             return
 
         if self.process_is_backoff() or self.process_is_fatal():