diff --git a/Samples/PerfTestCL/DumpTool.swift b/Samples/PerfTestCL/DumpTool.swift index 819e5e6eb..597609fda 100644 --- a/Samples/PerfTestCL/DumpTool.swift +++ b/Samples/PerfTestCL/DumpTool.swift @@ -83,7 +83,7 @@ class DumpTool: ToolsCommand { try inputEndpoint.awaitNotConnected() try inputEndpoint.closeAndAWaitTermination() - try outputEndpoint?.awaitNotConnected() + try outputEndpoint?.awaitProcessed() try outputEndpoint?.closeAndAWaitTermination() } catch { print("Dump tool error: \(error)")