Python crash on exit, possibly due to unloading of libraries.

This commit is contained in:
Ryan Hill 2021-05-10 21:33:17 -07:00
parent c5b9d9cb3a
commit fcb98063a2

View file

@ -2104,10 +2104,6 @@ PYBIND11_MODULE(onnxruntime_pybind11_state, m) {
const logging::Logger& default_logger = logging::LoggingManager::DefaultLogger();
LOGS(default_logger, WARNING) << "Init provider bridge failed.";
}
atexit([] {
UnloadSharedProviders();
});
#endif
#ifdef ENABLE_TRAINING