[Asterisk-code-review] translate: Skip matrix rebuild during shutdown. (asterisk[13])

Jenkins2 asteriskteam at digium.com
Thu Dec 7 14:37:53 CST 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/7468 )

Change subject: translate: Skip matrix_rebuild during shutdown.
......................................................................

translate: Skip matrix_rebuild during shutdown.

Change-Id: I1e5eef4029cba56e33d786c5a5ade8091e531a1e
---
M main/translate.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/main/translate.c b/main/translate.c
index f0a7f72..4ffe27c 100644
--- a/main/translate.c
+++ b/main/translate.c
@@ -1298,7 +1298,7 @@
 	}
 	AST_RWLIST_TRAVERSE_SAFE_END;
 
-	if (found) {
+	if (found && !ast_shutting_down()) {
 		matrix_rebuild(0);
 	}
 

-- 
To view, visit https://gerrit.asterisk.org/7468
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: I1e5eef4029cba56e33d786c5a5ade8091e531a1e
Gerrit-Change-Number: 7468
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171207/e25520e7/attachment-0001.html>


More information about the asterisk-code-review mailing list