Skip to content

Commit

Permalink
ISSUE=4625 fixing the master processes that were not dying properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ajragusa committed Jul 20, 2017
1 parent c583e57 commit a83ed57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions perl-lib/OESS/lib/OESS/MPLS/Discovery.pm
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,8 @@ sub stop {
$self->{'logger'}->info("Sending MPLS.Discovery.stop to listeners");
$self->{'rmq_client'}->{'topic'} = "MPLS.Discovery.Switch";
$self->{'rmq_client'}->stop( no_reply => 1);

$self->{'dispatcher'}->stop_consuming();
}

1;
2 changes: 2 additions & 0 deletions perl-lib/OESS/lib/OESS/MPLS/FWDCTL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,8 @@ sub stop {
$self->{'logger'}->info("Sending MPLS.FWDCTL.event.stop to listeners");
$self->{'fwdctl_events'}->{'topic'} = "MPLS.FWDCTL.Switch";
$self->{'fwdctl_events'}->stop( no_reply => 1);

$self->{'fwdctl_dispatcher'}->stop_consuming();
}

1;

0 comments on commit a83ed57

Please sign in to comment.