Skip to content

Commit d0d2413

Browse files
authored
Merge pull request #10279 from rabbitmq/fix-ff-controller-termination
rabbit_feature_flags: Trap `exit` signal in the controller
2 parents 36c7d26 + a472982 commit d0d2413

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deps/rabbit/src/rabbit_ff_controller.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ init(_Args) ->
186186
?LOG_DEBUG(
187187
"Feature flags: controller standing by",
188188
#{domain => ?RMQLOG_DOMAIN_FEAT_FLAGS}),
189+
process_flag(trap_exit, true),
189190
{ok, standing_by, none}.
190191

191192
standing_by(

0 commit comments

Comments
 (0)