Skip to content

Commit 9ca7f17

Browse files
ZhangYulonggkevincheng2
authored andcommitted
Clean up ports after processing results (PaddlePaddle#4587)
1 parent 8777449 commit 9ca7f17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/model_loader/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def run_with_timeout(target, args, timeout=60 * 5):
7070
finally:
7171
result_queue.close()
7272
result_queue.join_thread()
73+
clean_ports([FD_CACHE_QUEUE_PORT])
7374

7475
return result
7576

0 commit comments

Comments
 (0)