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

Corey Farrell asteriskteam at digium.com
Thu Dec 7 09:51:56 CST 2017


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/7467


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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/67/7467/1

diff --git a/main/translate.c b/main/translate.c
index 70e97f9..ce4745c 100644
--- a/main/translate.c
+++ b/main/translate.c
@@ -1307,7 +1307,7 @@
 	}
 	AST_RWLIST_TRAVERSE_SAFE_END;
 
-	if (found) {
+	if (found && !ast_shutting_down()) {
 		matrix_rebuild(0);
 	}
 

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

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e5eef4029cba56e33d786c5a5ade8091e531a1e
Gerrit-Change-Number: 7467
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171207/17388f17/attachment.html>


More information about the asterisk-code-review mailing list