Warning: class_loader.ClassLoader: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap!
I've installed ROS 2 Rolling on Ubuntu 22.04 and after launching and then closing, for example, rqt_graph
, I get the following warning:
Warning: class_loader.ClassLoader: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap! You should delete your objects before attempting to unload the library or destroying the ClassLoader. The library will NOT be unloaded. at line 127 in ./src/class_loader.cpp
I had at first installed ROS 2 Humble with apt-get and I had no such warning so I am assuming it has something to do with my latest install or removal of previous ROS 2 version. Is it possible to fix this without reinstalling ROS 2?