From: Samuel Just Date: Sat, 2 Feb 2013 00:40:32 +0000 (-0800) Subject: Timer.cc: use complete() rather than finish() X-Git-Tag: v0.59~160^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7fe7eff92eba297fb8702bbe30f03f6f3ae75970;p=ceph.git Timer.cc: use complete() rather than finish() Signed-off-by: Samuel Just --- diff --git a/src/common/Timer.cc b/src/common/Timer.cc index ac0550c768ff..f90d9ab9694e 100644 --- a/src/common/Timer.cc +++ b/src/common/Timer.cc @@ -102,8 +102,7 @@ void SafeTimer::timer_thread() if (!safe_callbacks) lock.Unlock(); - callback->finish(0); - delete callback; + callback->complete(0); if (!safe_callbacks) lock.Lock(); }