From 734bdb72e141c6ca8312195ce1dd265b91a8bafd Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Tue, 15 Sep 2020 16:49:31 +0000 Subject: [PATCH] Fix simulation trace impl occurence --- flow/Trace.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flow/Trace.cpp b/flow/Trace.cpp index de93602da8..dbfa36ea42 100644 --- a/flow/Trace.cpp +++ b/flow/Trace.cpp @@ -473,7 +473,11 @@ public: barriers->push(f); writer->post( new WriterThread::Barrier ); - f.getBlocking(); + if (g_network->isSimulated()) { + ASSERT(f.isReady()); + } else { + f.getBlocking(); + } opened = false; }