programmatically killing Subscriber in another thread (ROSJAVA)
The title says it all. I have a subscriber in a separate runnable thread from my main program. When I close my main program, I want to kill the subscriber thread, but calling the stop() method below doesn't work. Any ideas?
public void stop() {
node.shutdown();
node = null;
}