Skip to content

Commit

Permalink
Merge pull request #459 from ajragusa/master
Browse files Browse the repository at this point in the history
ISSUE=4625 fixing the master processes that were not dying properly
  • Loading branch information
ajragusa authored Jul 20, 2017
2 parents b13c07d + a83ed57 commit 328c699
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 328c699

Please sign in to comment.