mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-05 01:27:26 +00:00
nvidia/cuda/obs: Release stream before context
This commit is contained in:
parent
6b2c7869ff
commit
23ccec8b62
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