From 4afb19e09106f4605a14e7634bca0a071a9cacb2 Mon Sep 17 00:00:00 2001 From: sabrina-shanman Date: Wed, 27 Jun 2018 09:49:51 -0700 Subject: [PATCH] Remove assert in ~Frame causing shutdown crash on Mac in dev build --- libraries/gpu/src/gpu/Frame.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libraries/gpu/src/gpu/Frame.cpp b/libraries/gpu/src/gpu/Frame.cpp index d08a8ab56d..f1001d97d2 100644 --- a/libraries/gpu/src/gpu/Frame.cpp +++ b/libraries/gpu/src/gpu/Frame.cpp @@ -21,10 +21,7 @@ Frame::~Frame() { framebuffer.reset(); } - assert(bufferUpdates.empty()); - if (!bufferUpdates.empty()) { - qFatal("Buffer sync error... frame destroyed without buffer updates being applied"); - } + bufferUpdates.clear(); } void Frame::finish() {