]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: handle race with finisher after shutdown 31620/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 13 Nov 2019 19:00:44 +0000 (11:00 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 13 Nov 2019 19:15:37 +0000 (11:15 -0800)
commit40c4b9ac9d8e2b2c17269affada304f5e1554974
tree19f379fd3c17737b7a4fd3b9a717fc377c381ded
parentf86e779fe3e631223711d5acb05c5451496fcf3a
mgr: handle race with finisher after shutdown

The module is deleted when modules is cleared. The notify method is
called on a destructed class.

Fixes: https://tracker.ceph.com/issues/42744
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mgr/ActivePyModule.cc
src/mgr/ActivePyModules.cc
src/mgr/ActivePyModules.h
src/mgr/PyModuleRunner.cc
src/mgr/PyModuleRunner.h