deploy-stub: flush output streams before exit

Intended to address #946
This commit is contained in:
rdb 2020-06-14 11:07:31 +02:00
parent cada6c2c7b
commit 2880525c1e

View File

@ -724,6 +724,9 @@ int main(int argc, char *argv[]) {
PyImport_FrozenModules = blobinfo.pointers[0];
retval = Py_FrozenMain(argc, argv);
fflush(stdout);
fflush(stderr);
unmap_blob(blob);
return retval;
}