We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b3836 commit 13d6e1eCopy full SHA for 13d6e1e
launch_ros/launch_ros/actions/node.py
@@ -559,9 +559,15 @@ def instantiate_extension(
559
return extension_instance
560
561
562
+g_entry_points_impl = None
563
+
564
565
def get_extensions(logger):
566
+ global g_entry_points_impl
567
group_name = 'launch_ros.node_action'
- entry_points_impl = importlib_metadata.entry_points()
568
+ if g_entry_points_impl is None:
569
+ g_entry_points_impl = importlib_metadata.entry_points()
570
+ entry_points_impl = g_entry_points_impl
571
if hasattr(entry_points_impl, 'select'):
572
groups = entry_points_impl.select(group=group_name)
573
else:
0 commit comments