git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12402
d0543943-73ff-0310-b7d9-
9358b9ac24b2
if (runtime.memory_pool) {
apr_pool_destroy(runtime.memory_pool);
- if (switch_test_flag((&runtime), SCF_RESTART)) {
- apr_terminate();
- }
+ apr_terminate();
}
return switch_test_flag((&runtime), SCF_RESTART) ? SWITCH_STATUS_RESTART : SWITCH_STATUS_SUCCESS;
timer_interface->timer_destroy = timer_destroy;
/* indicate that the module should continue to be loaded */
- return SWITCH_STATUS_NOUNLOAD;
+ return SWITCH_STATUS_SUCCESS;
}
SWITCH_MODULE_SHUTDOWN_FUNCTION(softtimer_shutdown)
switch_core_destroy_memory_pool(&TIMEZONES_LIST.pool);
}
- return SWITCH_STATUS_NOUNLOAD;
+ return SWITCH_STATUS_SUCCESS;
}