Add release function for signal scoped_cookies
This commit is contained in:
parent
575f87747b
commit
d024c588db
@ -64,6 +64,9 @@ namespace util {
|
|||||||
|
|
||||||
void renew (callback_object &&cb)
|
void renew (callback_object &&cb)
|
||||||
{ *m_cookie = std::move (cb); }
|
{ *m_cookie = std::move (cb); }
|
||||||
|
|
||||||
|
void release (void)
|
||||||
|
{ m_cookie = m_parent.m_children.end (); }
|
||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user