diff --git a/Userland/Libraries/LibWeb/WebGL/OpenGLContext.cpp b/Userland/Libraries/LibWeb/WebGL/OpenGLContext.cpp index b695d5e03dc..03921f23dae 100644 --- a/Userland/Libraries/LibWeb/WebGL/OpenGLContext.cpp +++ b/Userland/Libraries/LibWeb/WebGL/OpenGLContext.cpp @@ -163,6 +163,11 @@ public: { } + ~AccelGfxContext() + { + activate(); + } + private: OwnPtr m_context; NonnullRefPtr m_canvas;