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

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);
}