nvidia/cuda/obs: Release stream before context

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2021-06-17 12:15:38 +02:00 committed by Xaymar
parent 6b2c7869ff
commit 23ccec8b62

View file

@ -44,6 +44,7 @@ streamfx::nvidia::cuda::obs::~obs()
auto stack = _context->enter();
_stream->synchronize();
_context->synchronize();
_stream.reset();
}
_context.reset();
_cuda.reset();