Remove assert in ~Frame causing shutdown crash on Mac in dev build

This commit is contained in:
sabrina-shanman 2018-06-27 09:49:51 -07:00
parent b7069fff71
commit 4afb19e091

View file

@ -21,10 +21,7 @@ Frame::~Frame() {
framebuffer.reset(); framebuffer.reset();
} }
assert(bufferUpdates.empty()); bufferUpdates.clear();
if (!bufferUpdates.empty()) {
qFatal("Buffer sync error... frame destroyed without buffer updates being applied");
}
} }
void Frame::finish() { void Frame::finish() {