fix multigraph terminate issue
This commit is contained in:
parent
19e2e063c9
commit
94708a9c1d
|
@ -249,7 +249,10 @@ void Executor::OnEvent(const ExecutorEvent &event) {
|
|||
}
|
||||
|
||||
void Executor::OnClear() {
|
||||
WorkerJoin();
|
||||
{
|
||||
mindspore::ScopedLongRunning long_running;
|
||||
WorkerJoin();
|
||||
}
|
||||
ClearDoneTasks();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue