Merge "translate: Skip matrix_rebuild during shutdown."

This commit is contained in:
Jenkins2 2017-12-07 14:33:47 -06:00 committed by Gerrit Code Review
commit b0b28446c1
1 changed files with 1 additions and 1 deletions

View File

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