mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-05 12:42:49 +00:00
Merge "translate: Skip matrix_rebuild during shutdown." into 13
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user