Skip to content

Commit

Permalink
Fix crash when accessing already destructed static variables (apache#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrendx authored and Joe Evans committed Jul 23, 2020
1 parent 7e143a2 commit 373d414
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/c_api/c_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,7 @@ int MXNotifyShutdown() {
API_BEGIN();
mxnet::op::custom::CustomOperator::Get()->Stop();
Engine::Get()->NotifyShutdown();
Engine::Get()->WaitForAll();
API_END();
}

Expand Down

0 comments on commit 373d414

Please sign in to comment.