Commit a0ad16c7 authored by Boris Kocherov's avatar Boris Kocherov

stop hanging uno thread

parent 22ecf134
......@@ -367,4 +367,11 @@ def main():
sys.stdout.write(output)
if "__main__" == __name__:
main()
try:
main()
except:
import traceback
sys.stderr.write(traceback.format_exc())
sys.stdout.flush()
sys.stderr.flush()
os.abort()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment