Fix crash when the destructor is called before onInitialize
Merge pull request #301 from ros-planning/fix_rviz_plugin

Fix crash when the destructor is called before onInitialize