bareos: master f5a79473

Author Committer Branch Timestamp Parent
pstorz pstorz master 2021-02-10 12:11 master 9719cfa0 Pending
Changeset python-{dir,fd,sd} plugins: do not load python2 and 3 at the same time

- Check if Py_IsInitialized() before initializing the plugin and skip
  double initialization.
- unloadPlugin(): skip the Python shutdown so that a crash is avoided
mod - core/src/filed/fd_plugins.cc Diff File
mod - core/src/plugins/dird/python/python-dir.cc Diff File
mod - core/src/plugins/filed/python/python-fd.cc Diff File
mod - core/src/plugins/stored/python/python-sd.cc Diff File