mirror of
https://github.com/opencv/opencv.git
synced 2025-06-09 18:43:05 +08:00
Merge pull request #18907 from diablodale:exec_context_create_addref
This commit is contained in:
commit
d65c6af3a5
@ -2437,6 +2437,7 @@ public:
|
|||||||
if (impl)
|
if (impl)
|
||||||
{
|
{
|
||||||
CV_LOG_INFO(NULL, "OpenCL: reuse context@" << impl->contextId << " for configuration: " << configuration)
|
CV_LOG_INFO(NULL, "OpenCL: reuse context@" << impl->contextId << " for configuration: " << configuration)
|
||||||
|
impl->addref();
|
||||||
return impl;
|
return impl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user