]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/Timer: do not add event if already shutdown 16201/head
authorKefu Chai <kchai@redhat.com>
Fri, 7 Jul 2017 05:44:03 +0000 (13:44 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 7 Jul 2017 07:08:19 +0000 (15:08 +0800)
commit8c8220c39cf82b6d4b2387de4c3289a5e4fd3ad9
treeed9e39143d80ed1ef7316d937846974968daff21
parent8f121c70d346fad30da820810cc685ce06dded0d
common/Timer: do not add event if already shutdown

otherwise the callback is leaked.

Fixes: http://tracker.ceph.com/issues/20432
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/Timer.cc