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

Corey Farrell asteriskteam at digium.com
Thu Dec 7 09:52:05 CST 2017


Corey Farrell has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/68/7468/1

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: newchange
Gerrit-Change-Id: I1e5eef4029cba56e33d786c5a5ade8091e531a1e
Gerrit-Change-Number: 7468
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/214899df/attachment-0001.html>


More information about the asterisk-code-review mailing list