Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
7d29936b
Commit
7d29936b
authored
Feb 06, 2020
by
Samuel GAIST
Browse files
[execution][local] Improve handling of message handler shutdown
Relates to
beat.backend.python#30
parent
555309c5
Pipeline
#36725
passed with stage
in 16 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
beat/core/execution/local.py
View file @
7d29936b
...
...
@@ -200,7 +200,12 @@ class LocalExecutor(BaseExecutor):
for
handler
in
[
self
.
message_handler
,
self
.
loop_message_handler
]:
if
handler
:
handler
.
kill
()
handler
.
join
()
try
:
handler
.
join
()
except
RuntimeError
:
# The handler was not started
pass
handler
.
destroy
()
for
socket
in
[
self
.
executor_socket
,
self
.
loop_socket
]:
...
...
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