From 0e50bde37bd8713f351b65c852f14c1da2567b3b Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 7 Dec 2005 16:04:50 +0000 Subject: - fixed thread pool removal --- Source/charon/daemon.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Source/charon/daemon.c') diff --git a/Source/charon/daemon.c b/Source/charon/daemon.c index a80e04374..2d23b58fe 100644 --- a/Source/charon/daemon.c +++ b/Source/charon/daemon.c @@ -182,7 +182,6 @@ static void initialize(private_daemon_t *this) this->public.sender = sender_create(); this->public.receiver = receiver_create(); this->public.scheduler = scheduler_create(); - this->public.prime_pool = prime_pool_create(PRIME_PRE_COMPUTATION_LIMIT); this->public.thread_pool = thread_pool_create(NUMBER_OF_WORKING_THREADS); } @@ -207,10 +206,6 @@ static void destroy(private_daemon_t *this) { this->public.thread_pool->destroy(this->public.thread_pool); } - if (this->public.prime_pool != NULL) - { - this->public.prime_pool->destroy(this->public.prime_pool); - } if (this->public.job_queue != NULL) { this->public.job_queue->destroy(this->public.job_queue); -- cgit v1.2.3