diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c index 74c0b6d40d4271f6f08cc712933c4d0c90c10296..8c14e918b22f7282dab52eedea820c6c5af59c6b 100644 --- a/pbx/pbx_ael.c +++ b/pbx/pbx_ael.c @@ -4052,7 +4052,6 @@ static int ael2_no_debug(int fd, int argc, char *argv[]) static int ael2_reload(int fd, int argc, char *argv[]) { - ast_context_destroy(NULL, registrar); return (pbx_load_module()); } @@ -4097,7 +4096,6 @@ static int load_module(void) static int reload(void) { - ast_context_destroy(NULL, registrar); return pbx_load_module(); }