summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2017-05-10 18:58:01 +0200
committerOlivier Dony <odo@openerp.com>2017-05-11 09:01:12 +0200
commite0014387c5ed45935b29b36be821e42460fa83fa (patch)
treef2de97d32861f1cd16575782e52abe44992d1984 /addons/web/static/src/xml
parent397871399673aab6e6d2d93e1873527b4022f2b0 (diff)
[FIX] report: always close pdf files after merge
If an exception during the merges (such as a file descriptor overrun), we would otherwise depend on the next garbage collection to close the files. But the next GC may never come. For example if we ran out of OS file descriptors during merge, all future requests will crash for the same reason, and the process will never recover because the GC will never run. Much easier to explicitly close the files all the time.
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions