diff options
author | Jenkins2 <jenkins2@gerrit.asterisk.org> | 2017-12-07 14:37:53 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-12-07 14:37:53 -0600 |
commit | 54a86779a3d1cc2a1c859d76180f155865713bb5 (patch) | |
tree | 61ceb080343e0fdc091e61ef119433e2af9b908c /main | |
parent | ac7501b15ce3e3db463ccd98c8fc1471f9f5e2c1 (diff) | |
parent | 2691ee68ce38caec6910b0c6b39f7953b828e15b (diff) |
Merge "translate: Skip matrix_rebuild during shutdown." into 13
Diffstat (limited to 'main')
-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 f0a7f72c3..4ffe27c33 100644 --- a/main/translate.c +++ b/main/translate.c @@ -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); } |