From 33e96657b7c2efb0d83db151d7c92bb85ac7374f Mon Sep 17 00:00:00 2001 From: Vittorio Romeo Date: Wed, 15 Mar 2023 01:23:09 +0100 Subject: [PATCH] Remove redundant 'reset' calls in 'TransientContext` destructor --- src/SFML/Window/GlContext.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/SFML/Window/GlContext.cpp b/src/SFML/Window/GlContext.cpp index 9c2abddf..f5e0e661 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(); } ////////////////////////////////////////////////////////////