Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix crash when accessing already destructed static variables (#18768) (
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrendx committed Jul 23, 2020
1 parent b81c1ce commit 91d535a
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 91d535a

Please sign in to comment.