From 03d126bbe5e431c249639018e603c0c1ea147783 Mon Sep 17 00:00:00 2001 From: RealTimeChris <40668522+RealTimeChris@users.noreply.github.com> Date: Fri, 22 Sep 2023 06:52:15 -0400 Subject: [PATCH] Update cache.h [skip ci] --- include/dpp/cache.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/dpp/cache.h b/include/dpp/cache.h index bf6b73ac6d..188d4b661e 100644 --- a/include/dpp/cache.h +++ b/include/dpp/cache.h @@ -271,10 +271,6 @@ cache_decl(emoji, find_emoji, get_emoji_cache, get_emoji_count); * delete pointers when objects are replaced. We put them into a queue, and periodically delete pointers in the * queue. This also rehashes unordered_maps to ensure they free their memory. */ - /* Because other threads and systems may run for a short while after an event is received, we don't immediately - * delete pointers when objects are replaced. We put them into a queue, and periodically delete pointers in the - * queue. This also rehashes unordered_maps to ensure they free their memory. - */ template inline void garbage_collection() { time_t now = time(nullptr); bool repeat = false;