drzo / opensim4opencog

Automatically exported from code.google.com/p/opensim4opencog
2 stars 0 forks source link

on_exit hook should log out bots we log in #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
enhancement request - 

we should keep a list of bots we log in, and try
to log them out on halt if we havne't already

Original issue reported on code.google.com by anneogb...@gmail.com on 12 May 2012 at 8:12

GoogleCodeExporter commented 8 years ago
[1:10:20 PM] Douglas R. Miles: thread is a prolog on exit_hook
[1:10:53 PM] Anne Ogborn: yah, that'd be good
[1:11:00 PM] Anne Ogborn: ok, I'll bug that
[1:11:33 PM] Douglas R. Miles: thread_at_exit(:Goal)
    Run Goal just before releasing the thread resources. This is to be compared to at_halt/1, but only for the current thread. These hooks are run regardless of why the execution of the thread has been completed.
[1:11:45 PM] Douglas R. Miles: also a 
http://www.swi-prolog.org/pldoc/man?predicate=at_halt%2f1

Original comment by anneogb...@gmail.com on 12 May 2012 at 8:12

GoogleCodeExporter commented 8 years ago

Original comment by logicmoo@gmail.com on 14 May 2012 at 12:15