def _cleanup_domain():
try:
if globals().has_key('currentdomain'):
__terminate_process( globals()['currentdomain'].process)
x = globals().pop('currentdomain')
if x : del x
except:
traceback.print_exc()
pass
if globals().has_key('currentdevmgrs'):
for x in globals()['currentdevmgrs']:
try:
__terminate_process(x.process)
except:
traceback.print_exc()
pass
x = globals().pop('currentdevmgrs')
if x : del x
评论列表
文章目录