mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
ocl: process termination hung workaround
This commit is contained in:
@@ -249,6 +249,9 @@ namespace ocl
|
||||
MatAllocator* getOpenCLAllocator();
|
||||
}
|
||||
|
||||
extern bool __termination; // skip some cleanups, because process is terminating
|
||||
// (for example, if ExitProcess() was already called)
|
||||
|
||||
}
|
||||
|
||||
#endif /*_CXCORE_INTERNAL_H_*/
|
||||
|
||||
Reference in New Issue
Block a user