]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Objecter::shutdown: shut down timer.
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Sun, 14 Nov 2010 19:29:29 +0000 (11:29 -0800)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Sun, 14 Nov 2010 19:29:29 +0000 (11:29 -0800)
commit4af14db424e770c2f3e99dad6fd2b6f2059feacd
tree47e0f390a7a07006b2c3a7f30c86c10e87aab9ab
parent20affc650a517221fa8c07649f11e034f910861d
Objecter::shutdown: shut down timer.

We have to explictly shut down the timer in Objecter::shutdown.
Otherwise, we are relying on the destructor of SafeTimer to do it.
Unfortunately, that destructor gets called after the mutex the timer is
using has already been destroyed.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/osdc/Objecter.cc