소스 검색

Add an explanatory comment about rebuffering an event in finish().

Chris McDonough 18 년 전
부모
커밋
92a92318e7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/supervisor/process.py

+ 2 - 0
src/supervisor/process.py

@@ -415,6 +415,8 @@ class Subprocess:
         # if we're an event listener), notify the event system that this
         # event was rejected so it can be processed again.
         if self.event is not None:
+            # Note: this should only be true if we were in the BUSY
+            # state when finish() was called.
             events.notify(events.EventRejectedEvent(self, self.event))
             self.event = None