fix(linux): ensure NvFBC capture works after multiple sessions (#3020)
This commit is contained in:
parent
a669b36c31
commit
c246c78b13
1 changed files with 1 additions and 0 deletions
|
|
@ -702,6 +702,7 @@ namespace cuda {
|
|||
|
||||
NVFBC_DESTROY_HANDLE_PARAMS params { NVFBC_DESTROY_HANDLE_PARAMS_VER };
|
||||
|
||||
ctx_t ctx { handle };
|
||||
if (func.nvFBCDestroyHandle(handle, ¶ms)) {
|
||||
BOOST_LOG(error) << "Couldn't destroy session handle: "sv << func.nvFBCGetLastErrorStr(handle);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue