mirror of https://github.com/Icinga/icinga2.git
Implement DynamicObject::Stop().
This commit is contained in:
parent
3c363499bb
commit
69a2842d4e
|
@ -393,6 +393,8 @@ void DynamicObject::OnUnregistrationCompleted(void)
|
||||||
{
|
{
|
||||||
ASSERT(!OwnsLock());
|
ASSERT(!OwnsLock());
|
||||||
|
|
||||||
|
Stop();
|
||||||
|
|
||||||
OnUnregistered(GetSelf());
|
OnUnregistered(GetSelf());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,7 @@ public:
|
||||||
void Unregister(void);
|
void Unregister(void);
|
||||||
|
|
||||||
virtual void Start(void);
|
virtual void Start(void);
|
||||||
|
virtual void Stop(void);
|
||||||
|
|
||||||
const AttributeMap& GetAttributes(void) const;
|
const AttributeMap& GetAttributes(void) const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue