Fix crash on close when using gl/fbo modules

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-11-06 14:41:47 +00:00
parent 483838d80b
commit d2b1cf420e
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0

View file

@ -406,6 +406,7 @@ public:
{ {
const ScopedContext sc(this); const ScopedContext sc(this);
context->patch->clear();
delete context; delete context;
} }