From db18e18dee78a3b526109b97425ba4b045b8f9c3 Mon Sep 17 00:00:00 2001 From: Zen Date: Fri, 25 Oct 2024 22:04:38 +0800 Subject: [PATCH] Reset DAG after scheduler being reset --- sparta/src/Scheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sparta/src/Scheduler.cpp b/sparta/src/Scheduler.cpp index 887ffd7654..e1af41da5b 100644 --- a/sparta/src/Scheduler.cpp +++ b/sparta/src/Scheduler.cpp @@ -165,8 +165,8 @@ void Scheduler::reset() enterTeardown(); // On RootTreeNode clearEvents(); - dag_.reset(new DAG(this, false)); dag_finalized_ = false; + dag_.reset(new DAG(this, false)); tick_quantum_allocator_.clear(); }