mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
nvidia/cuda/obs: Release stream before context
This commit is contained in:
parent
0f56f822c3
commit
0f92a4b499
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ streamfx::nvidia::cuda::obs::~obs()
|
|||
auto stack = _context->enter();
|
||||
_stream->synchronize();
|
||||
_context->synchronize();
|
||||
_stream.reset();
|
||||
}
|
||||
_context.reset();
|
||||
_cuda.reset();
|
||||
|
|
Loading…
Reference in a new issue