mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 13:44:16 +00:00
FSCORE-297 tony fixed this via telephone blind.. its not ME.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12402 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c673d8e914
commit
1908898362
2 files changed
+3
-5
No files matched your search
+1
-3
@@ -1525,9 +1525,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(void)
|
||||
|
||||
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;
|
||||
|
||||
Reference in new issue
Block a user