From d18f650034e46c13890d4cffe0b92c5f9ab91ad1 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sun, 11 Jul 2021 17:20:50 -0700 Subject: [PATCH] framehashcache: disabled reserve --- app/render/framehashcache.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/render/framehashcache.cpp b/app/render/framehashcache.cpp index 52e6028f2..553f45c8c 100644 --- a/app/render/framehashcache.cpp +++ b/app/render/framehashcache.cpp @@ -79,8 +79,9 @@ void FrameHashCache::SetHash(const rational &time, const QByteArray &hash, const int64_t ts = ToTimestamp(time); if (ts >= GetMapSize()) { + // Disabled: bizarrely causes the whole app to hang indefinitely when used // Reserve an extra minute to cut down on the amount of reallocations to make - time_hash_map_.reserve(ts + timebase_.flipped().toDouble() * 60); + //time_hash_map_.reserve(ts + timebase_.flipped().toDouble() * 60); // Add enough entries to insert this hash time_hash_map_.resize(ts + 1);