diff options
Diffstat (limited to 'src/memory.c')
-rw-r--r-- | src/memory.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/memory.c b/src/memory.c index 6d7645c..d26b794 100644 --- a/src/memory.c +++ b/src/memory.c @@ -628,8 +628,7 @@ teco_memory_stop_limiting(void) g_mutex_unlock(&teco_memory_mutex); } -#ifndef NDEBUG -static void __attribute__((destructor)) +static void TECO_DEBUG_CLEANUP teco_memory_cleanup(void) { if (!teco_memory_thread) @@ -642,7 +641,6 @@ teco_memory_cleanup(void) g_thread_join(teco_memory_thread); } -#endif #else /* !NEED_POLL_THREAD */ |