diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-12-03 11:24:02 -0800 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-12-03 11:24:02 -0800 |
commit | 9ca70643e30ef19ceb39644dde496b7dfc7fa6e6 (patch) | |
tree | 9dbef5e103e88ce6c36477306f285c16813e0866 /Python/frozenmain.c | |
parent | e724fe060b189a4879fd9713a24bbfe6c9eb008e (diff) | |
parent | 43ebbf7db2d3d3297e96693fd91ac8a654631438 (diff) | |
download | cpython-9ca70643e30ef19ceb39644dde496b7dfc7fa6e6.tar.gz |
Issue #28846: Various installer fixes
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r-- | Python/frozenmain.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c index de8bd35453..769b33d0ee 100644 --- a/Python/frozenmain.c +++ b/Python/frozenmain.c @@ -99,7 +99,9 @@ Py_FrozenMain(int argc, char **argv) #ifdef MS_WINDOWS PyWinFreeze_ExeTerm(); #endif - Py_Finalize(); + if (Py_FinalizeEx() < 0) { + sts = 120; + } error: PyMem_RawFree(argv_copy); |