1
0
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:
Alexander Alekhin
2013-12-11 00:31:34 +04:00
parent d802b4d143
commit bdbd3eb2bf
3 changed files with 18 additions and 5 deletions
+3
View File
@@ -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_*/