Backed out changeset f1abdc201968 (bug 823787) for breaking PGO builds on Windows

This commit is contained in:
Wes Kocher 2013-12-12 19:43:25 -08:00
parent 898b147d75
commit 5cfcfcf8a4

View File

@ -65,15 +65,7 @@ if __name__ == '__main__':
cmdargs=cmdargs,
env=env)
runner.start(debug_args=debug_args, interactive=interactive)
status = runner.wait()
runner.wait()
httpd.stop()
if status != 0:
status = 1 # normalize status, in case it's larger than 127
# Note: the |finally| block below will always run.
# http://docs.python.org/2/library/sys.html#sys.exit says that sys.exit "is
# implemented by raising the SystemExit exception, so cleanup actions
# specified by finally clauses of try statements are honored".
sys.exit(status)
finally:
shutil.rmtree(profilePath)