Exit subprocess, possibly after first clearing exit functions. If config-main.cfg/.def 'General' 'delete-exitfunc' is True, then any functions registered with atexit will be removed before exiting. (VPython support)
()
| 304 | """XXX How to do this now?""" |
| 305 | |
| 306 | def exit(): |
| 307 | """Exit subprocess, possibly after first clearing exit functions. |
| 308 | |
| 309 | If config-main.cfg/.def 'General' 'delete-exitfunc' is True, then any |
| 310 | functions registered with atexit will be removed before exiting. |
| 311 | (VPython support) |
| 312 | |
| 313 | """ |
| 314 | if no_exitfunc: |
| 315 | import atexit |
| 316 | atexit._clear() |
| 317 | capture_warnings(False) |
| 318 | sys.exit(0) |
| 319 | |
| 320 | |
| 321 | def fix_scaling(root): |
no test coverage detected