Skip to content

Commit 005098d

Browse files
committed
accidentially removed comment
1 parent 0fe9ad1 commit 005098d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/profiling/sampling/sample.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ def wait(timeout):
149149
if control_server is not None and current_time >= next_control_poll:
150150
control_server.poll(timeout=0)
151151
next_control_poll = current_time + 0.001
152+
# Check if live collector or runtime control wants to stop
152153
if not getattr(control, 'running', True) or not getattr(collector, 'running', True):
153154
break
154155
enabled = getattr(control, 'enabled', True)

0 commit comments

Comments
 (0)