diff options
-rw-r--r-- | main/translate.c | 2 |
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); } |