Skip to content
Snippets Groups Projects
Commit f1183964 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Removed the exception throw in the destructor.

parent c3142747
No related branches found
No related tags found
No related merge requests found
......@@ -1769,16 +1769,8 @@ int CFirewireCamera::get_num_DMA_buffers(void)
CFirewireCamera::~CFirewireCamera()
{
dc1394error_t error;
DEBUG_INFO("Stoping the image acquisition ... ");
error = dc1394_capture_stop(this->camera_handle);
if( error != DC1394_SUCCESS)
{
DEBUG_INFO("failed\n");
/* handle the error */
throw CFirewireInternalException(_HERE_,error);
}
dc1394_capture_stop(this->camera_handle);
DEBUG_INFO("ok\n");
/* destroy the thread */
if ( this->one_shot_mode == DC1394_OFF )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment