From 890b46bc60509960b0bda4e147867f429f48d365 Mon Sep 17 00:00:00 2001 From: Patrick Ge <53650488+cococo2000@users.noreply.github.com> Date: Thu, 25 Jul 2024 15:16:18 +0800 Subject: [PATCH] Update multi.py --- examples/benchmark/multi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/benchmark/multi.py b/examples/benchmark/multi.py index 94457502..4837a0db 100644 --- a/examples/benchmark/multi.py +++ b/examples/benchmark/multi.py @@ -140,7 +140,8 @@ def run( print(f"Average time: {sum(results) / len(results)}ms") print(f"Average FPS: {1000 / (sum(results) / len(results))}") - + p.terminate() + p.join() if __name__ == "__main__": fire.Fire(run)