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;