]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3971] Using TimerMgrPtr returned by the TimerMgr.
authorMarcin Siodelski <marcin@isc.org>
Wed, 23 Sep 2015 10:10:18 +0000 (12:10 +0200)
committerMarcin Siodelski <marcin@isc.org>
Fri, 25 Sep 2015 14:47:05 +0000 (16:47 +0200)
src/lib/dhcpsrv/memfile_lease_mgr.cc

index 33d2941d9f44e27c72fe266d8eb29af12f28a63a..b124f87dd241f0e3b2d5f308b951ca7906460f8c 100644 (file)
@@ -116,7 +116,10 @@ private:
     /// @brief A PID of the last executed LFC process.
     pid_t pid_;
 
-    /// @brief Pointer to the Timer Manager.
+    /// @brief Pointer to the timer manager.
+    ///
+    /// We have to hold this pointer here to make sure that the timer
+    /// manager is not destroyed before the lease manager.
     TimerMgrPtr timer_mgr_;
 };