When the nodelet is killed, the following error is raised.
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument
To delete sync_ and async_ before subscribers, we can reset SyncPolicy in ~FaceRecognitionNodelet() or change the order of declaration.
When the nodelet is killed, the following error is raised.
To delete
sync_
andasync_
before subscribers, we can reset SyncPolicy in~FaceRecognitionNodelet()
or change the order of declaration.