summaryrefslogtreecommitdiff
path: root/main/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/translate.c')
-rw-r--r--main/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/translate.c b/main/translate.c
index 70e97f955..ce4745ce0 100644
--- a/main/translate.c
+++ b/main/translate.c
@@ -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);
}