Skip to content

Commit 3b3d45c

Browse files
author
devsh
committed
always set the callback back, because even if it were empty it needs to be empty again
1 parent f09ca19 commit 3b3d45c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/nbl/video/utilities/CAssetConverter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5344,8 +5344,7 @@ ISemaphore::future_t<IQueue::RESULT> CAssetConverter::convert_impl(SReserveResul
53445344
retval.set({params.transfer->scratchSemaphore.semaphore,params.transfer->scratchSemaphore.value});
53455345
}
53465346
// reset original callback
5347-
if (bool(origXferStallCallback))
5348-
params.transfer->overflowCallback = std::move(origXferStallCallback);
5347+
params.transfer->overflowCallback = std::move(origXferStallCallback);
53495348

53505349
// Its too dangerous to leave an Intended Transfer Submit hanging around that needs to be submitted for Compute to make forward progress outside of this utility,
53515350
// and doing transfer-signals-after-compute-wait timeline sema tricks are not and option because:

0 commit comments

Comments
 (0)