【发布时间】:2011-12-07 16:22:28
【问题描述】:
我正在开发使用omniORBpy 的python 客户端-服务器应用程序,我正在尝试弄清楚如何正确终止服务器。
我有这个方法:
def shutdown(self):
print "---------------------------------------"
print "shutdown"
orb.shutdown(False)
quit()
但是当我从调用上述函数的客户端发送消息时,会出现此错误:
---------------------------------------
shutdown
omniORB: Caught an unexpected Python exception during up-call.
terminate called after throwing an instance of 'omni_thread_fatal'
Aborted
有人知道我需要做什么才能正确地结束服务器吗?
【问题讨论】: