diff options
Diffstat (limited to 'main/message.c')
-rw-r--r-- | main/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/message.c b/main/message.c index ff88c2f6d..581487fcd 100644 --- a/main/message.c +++ b/main/message.c @@ -1516,7 +1516,7 @@ int ast_msg_init(void) res |= ast_register_application2(app_msg_send, msg_send_exec, NULL, NULL, NULL); res |= ast_manager_register_xml_core("MessageSend", EVENT_FLAG_MESSAGE, action_messagesend); - ast_register_atexit(message_shutdown); + ast_register_cleanup(message_shutdown); return res; } |