deepuranganathan / visual-control

Automatically exported from code.google.com/p/visual-control
0 stars 0 forks source link

After closing the program, 1 thread remains running. (most likely the main thread) #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run the program in debug mode
2. Close the program, and the debugger will stay active

The program runs 7 threads: 1 main thread, 2 boost::threads and 4 opencv 
threads. When the program stops look at the ID's of the threads and you will 
see that only the main thread hasn't exited.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by toefel18 on 7 Dec 2010 at 8:18

GoogleCodeExporter commented 8 years ago
Problem fixed. OpenCV resource did not get released in destructor. Added 
release call in the FrameCapture destructor.

Original comment by toefel18 on 11 Dec 2010 at 1:29