Fix: GPU: Tests: Memory leak with vulkan backend tests
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "gpu_testing.hh"
|
||||
|
||||
#include "GHOST_C-api.h"
|
||||
#include "GHOST_Path-api.hh"
|
||||
|
||||
namespace blender::gpu {
|
||||
|
||||
@@ -62,6 +63,7 @@ void GPUTest::TearDownTestSuite()
|
||||
GPU_context_discard(context_);
|
||||
GHOST_DisposeGPUContext(ghost_system_, ghost_context_);
|
||||
GHOST_DisposeSystem(ghost_system_);
|
||||
GHOST_DisposeSystemPaths();
|
||||
CLG_exit();
|
||||
|
||||
G.debug = prev_g_debug_;
|
||||
|
||||
Reference in New Issue
Block a user