diff options
| author | Benjamin Peterson <benjamin@python.org> | 2016-05-26 22:56:51 -0700 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2016-05-26 22:56:51 -0700 |
| commit | f701975a05ebda1c87ee2d078d2917676dc0de8b (patch) | |
| tree | 862aecee76f5699e7d5b47b02389c3d9824b1f91 /Python/frozenmain.c | |
| parent | 4d34b84dfcd51bf1d018cd301943433e6a1dff33 (diff) | |
| parent | b71ef42e94fb122b4321d4c8fae7b7c41cbd65b3 (diff) | |
| download | cpython-f701975a05ebda1c87ee2d078d2917676dc0de8b.tar.gz | |
merge 3.5
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); |
