Commit e9df9a02 authored by Timothy J Fontaine's avatar Timothy J Fontaine Committed by Julien Gilli
Browse files

cluster: avoid race enabling debugger in worker



Previously if a worker's state machine had already transitioned into the
'listening' state when it received the message enabling the debugger,
the worker would never enable its debugger.

Change the logic to allow the 'listening' as a valid state for enabling
the debugger.

Fixes #6440

Signed-off-by: default avatarJulien Gilli <julien.gilli@joyent.com>
parent 016e0845
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment