mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-31 15:53:42 +00:00
[opt-viewer] Kill parser processes before moving onto rendering
The main benefit is that they release the memory they were holding onto. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bd8ae82c63
commit
177552c699
@ -48,6 +48,8 @@ def pmap(func, iterable, processes, should_print_progress, *args, **kwargs):
|
||||
initargs=(_current, _total,),
|
||||
processes=processes)
|
||||
result = pool.map(_wrapped_func, func_and_args, *args, **kwargs)
|
||||
pool.close()
|
||||
pool.join()
|
||||
|
||||
if should_print_progress:
|
||||
sys.stdout.write('\r')
|
||||
|
Loading…
x
Reference in New Issue
Block a user