mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
translate: Skip matrix_rebuild during shutdown.
Change-Id: I1e5eef4029cba56e33d786c5a5ade8091e531a1e
This commit is contained in:
@@ -1307,7 +1307,7 @@ int ast_unregister_translator(struct ast_translator *t)
|
|||||||
}
|
}
|
||||||
AST_RWLIST_TRAVERSE_SAFE_END;
|
AST_RWLIST_TRAVERSE_SAFE_END;
|
||||||
|
|
||||||
if (found) {
|
if (found && !ast_shutting_down()) {
|
||||||
matrix_rebuild(0);
|
matrix_rebuild(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user