Browse Source

!22841 fix the bug about heartbeat

Merge pull request !22841 from yelihua/dev
tags/v1.5.0-rc1
i-robot Gitee 4 years ago
parent
commit
58463f98d8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindspore/ccsrc/debug/debugger/debugger.cc

+ 1
- 0
mindspore/ccsrc/debug/debugger/debugger.cc View File

@@ -258,6 +258,7 @@ void Debugger::Reset() {
std::lock_guard<std::mutex> a_lock(access_lock_);
// reset components
if (heartbeat_thread_ && heartbeat_thread_->joinable()) {
SetEnableHeartbeat(false);
heartbeat_thread_->join();
MS_LOG(INFO) << "Join Heartbeat thread.";
}


Loading…
Cancel
Save