Skip to content

Commit

Permalink
fix catch scope
Browse files Browse the repository at this point in the history
fix catch scope
  • Loading branch information
Tamir91 committed Feb 7, 2024
1 parent 2e0ba73 commit a05ca9c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/librealsense2/hpp/rs_device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -883,10 +883,7 @@ namespace rs2
{
_callback( status );
}
catch( const std::exception & e )
{
LOG_DEBUG( "Error from callback: " << e.what() );
}
catch( ... ) { }
}
void release() override { delete this; }
};
Expand Down

0 comments on commit a05ca9c

Please sign in to comment.