WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Cleaning up viz.director calls (https://forum.worldviz.com/showthread.php?t=735)

pbeeson 09-13-2006 09:44 AM

Cleaning up viz.director calls
 
I use viz.director to basically spawn a thread to receive xmlrpc calls to remotely control my Vizard avatar. I started using viz.director for two reasons. 1) in Vizard 2.5 if I used python threads, the Vizard programming environment (Vizard.exe) would bomb out even though the scipt would still run. 2) When I closed the Viewpoint window, it would kill the viz.director calls, so I didn't have to CTRL-ALT-DELETE and kill winviz.exe (this would happen if I used traditional threads).

In version 3.0, closing the viewpoint window doesn't seem to kill the viz.director "threads" so I have to CTRL-C to also kill the output terminal window.

farshizzo 09-13-2006 10:51 AM

In general, you should make sure your threads are closed down properly on exit. You can handle viz.EXIT_EVENT to perform the thread clean up.


All times are GMT -7. The time now is 09:55 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC