Optimization: Terminate the script on exit to save 10ms

This commit is contained in:
Dylan Araps 2017-06-20 19:27:55 +10:00
parent 2fa954d2a8
commit 0840d57d02

4
wal
View File

@ -568,7 +568,9 @@ def main():
stderr=open("/dev/null", "w"), stderr=open("/dev/null", "w"),
preexec_fn=os.setpgrp) preexec_fn=os.setpgrp)
return 0 # This saves 10ms.
# pylint: disable=W0212
os._exit(0)
main() main()