It looks like the TaskRunner itself is keeping the Director app alive even when the window is closed (or when ctrl+Q is pressed). To reproduce, launch the drake-visualizer app and then run (in the console):
from director import taskrunner
import time
def task():
while True:
time.sleep(0.1)
tr = taskrunner.TaskRunner()
tr.callOnThread(task)
then close the Director console and main window. The drake-visualizer binary keeps running until you ctrl+c it from the terminal.
I'm trying to figure out how to fix this, but haven't had any luck yet.
It looks like the
TaskRunneritself is keeping the Director app alive even when the window is closed (or when ctrl+Q is pressed). To reproduce, launch thedrake-visualizerapp and then run (in the console):then close the Director console and main window. The
drake-visualizerbinary keeps running until youctrl+cit from the terminal.I'm trying to figure out how to fix this, but haven't had any luck yet.