diff --git a/src/SFML/Window/GlContext.cpp b/src/SFML/Window/GlContext.cpp index 9c2abddf8..f5e0e661f 100644 --- a/src/SFML/Window/GlContext.cpp +++ b/src/SFML/Window/GlContext.cpp @@ -221,9 +221,6 @@ struct TransientContext { if (useSharedContext) sharedContext->setActive(false); - - sharedContextLock.reset(); - context.reset(); } ////////////////////////////////////////////////////////////