Commit 6c06fcee authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #11572 from nglee:dev_fixNppStreamHandlerDtor

parents 2f9b4439 79af0bfc
......@@ -152,7 +152,7 @@ namespace cv { namespace cuda
inline ~NppStreamHandler()
{
cudaStreamSynchronize(oldStream);
nppSafeSetStream(nppGetStream(), oldStream);
}
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment