Show More
@@ -42,6 +42,7 b' from __future__ import absolute_import' | |||
|
42 | 42 | |
|
43 | 43 | import SocketServer |
|
44 | 44 | import errno |
|
45 | import gc | |
|
45 | 46 | import inspect |
|
46 | 47 | import os |
|
47 | 48 | import re |
@@ -569,6 +570,9 b' class _requesthandler(SocketServer.Strea' | |||
|
569 | 570 | cerr = commandserver.channeledoutput(self.wfile, 'e') |
|
570 | 571 | traceback.print_exc(file=cerr) |
|
571 | 572 | raise |
|
573 | finally: | |
|
574 | # trigger __del__ since ForkingMixIn uses os._exit | |
|
575 | gc.collect() | |
|
572 | 576 | |
|
573 | 577 | def _tempaddress(address): |
|
574 | 578 | return '%s.%d.tmp' % (address, os.getpid()) |
General Comments 0
You need to be logged in to leave comments.
Login now