RethinkRobotics-opensource / rosnodejs

Client library for writing ROS nodes in JavaScript with nodejs

Home Page:http://wiki.ros.org/rosnodejs/overview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to disable ROS node default exit handler?

lesomnus opened this issue · comments

Process exited before the SIGINT handler of mine is done but after the ROS SIGINT hander done.
I saw that the parameter killprocess is default to false but why does this happens?

Sorry, I think it was due to the bunyan...

Nah, it happens after initNode.

The code in default branch,

sigIntHandler = exitImpl.bind(this, true);

killProcess is default to false but true is passed.

Why is this have be to true? I have something to clean that takes some time.