Merge "translate: Skip matrix_rebuild during shutdown." into 13

This commit is contained in:
Jenkins2
2017-12-07 14:37:53 -06:00
committed by Gerrit Code Review

View File

@@ -1298,7 +1298,7 @@ int ast_unregister_translator(struct ast_translator *t)
}
AST_RWLIST_TRAVERSE_SAFE_END;
if (found) {
if (found && !ast_shutting_down()) {
matrix_rebuild(0);
}