aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/pbx_config.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-11 21:14:42 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-11 21:14:42 +0000
commit736976a7c7585a104bfc3a5fd864543af6e80799 (patch)
treef9c065d0492dd64f04e01af7e76666bfdeb2d910 /pbx/pbx_config.c
parentac16b7f083dd91918cc3ab4239693a27720f9578 (diff)
don't destroy the entire dialplan during 'reload', just atomically replace it like 'extensions reload' does (issue #6047)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@19345 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/pbx_config.c')
-rw-r--r--pbx/pbx_config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index 42e43470a..6e482b540 100644
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -1,7 +1,7 @@
/*
* Asterisk -- An open source telephony toolkit.
*
- * Copyright (C) 1999 - 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2006, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
@@ -1808,7 +1808,6 @@ int load_module(void)
int reload(void)
{
- ast_context_destroy(NULL, registrar);
if (clearglobalvars_config)
pbx_builtin_clear_globals();
pbx_load_module();