You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2020/07/22 06:36:02 UTC
[incubator-mxnet] branch master updated: Fix crash when accessing
already destructed static variables (#18768)
This is an automated email from the ASF dual-hosted git repository.
zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 1928117 Fix crash when accessing already destructed static variables (#18768)
1928117 is described below
commit 1928117cee718bcdcd3bc1408940c8747f4c840e
Author: Przemyslaw Tredak <pt...@nvidia.com>
AuthorDate: Tue Jul 21 23:35:15 2020 -0700
Fix crash when accessing already destructed static variables (#18768)
---
src/c_api/c_api.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/c_api/c_api.cc b/src/c_api/c_api.cc
index ea39d9a..53ff1e4 100644
--- a/src/c_api/c_api.cc
+++ b/src/c_api/c_api.cc
@@ -1316,6 +1316,7 @@ int MXNotifyShutdown() {
API_BEGIN();
mxnet::op::custom::CustomOperator::Get()->Stop();
Engine::Get()->NotifyShutdown();
+ Engine::Get()->WaitForAll();
API_END();
}