diff --git a/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp b/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp index b16f5f90..74f0cf06 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp +++ b/rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp @@ -221,7 +221,7 @@ class rmw_context_impl_s::Data final close_session.cancel(); #ifndef _MSC_VER free_shm_provider.cancel(); -#endif _MSC_VER +#endif undeclare_z_sub.cancel(); }