Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mitogen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
mitogen
Commits
862ec211
Commit
862ec211
authored
Mar 26, 2018
by
David Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: allow shutdown triggered by any parent, not just immediate parent
parent
0f087833
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mitogen/core.py
mitogen/core.py
+1
-1
No files found.
mitogen/core.py
View file @
862ec211
...
...
@@ -1372,7 +1372,7 @@ class ExternalContext(object):
def
_on_shutdown_msg
(
self
,
msg
):
_v
and
LOG
.
debug
(
'_on_shutdown_msg(%r)'
,
msg
)
if
msg
!=
_DEAD
and
msg
.
src_id
!=
mitogen
.
parent_id
:
if
msg
!=
_DEAD
and
msg
.
auth_id
not
in
mitogen
.
parent_ids
:
LOG
.
warning
(
'Ignoring SHUTDOWN from non-parent: %r'
,
msg
)
return
self
.
broker
.
shutdown
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment