MCPcopy Create free account
hub / github.com/apache/mesos / ~GroupProcess

Method ~GroupProcess

src/zookeeper/group.cpp:122–131  ·  view source on GitHub ↗

NB: The `retry` and `connect` timers might still be active. However, we don't need to clean them up -- when the timers fire, they will attempt to dispatch to a no-longer-valid PID, which is a no-op.

Source from the content-addressed store, hash-verified

120// we don't need to clean them up -- when the timers fire, they will
121// attempt to dispatch to a no-longer-valid PID, which is a no-op.
122GroupProcess::~GroupProcess()
123{
124 discard(&pending.joins);
125 discard(&pending.cancels);
126 discard(&pending.datas);
127 discard(&pending.watches);
128
129 delete zk;
130 delete watcher;
131}
132
133
134void GroupProcess::initialize()

Callers

nothing calls this directly

Calls 1

discardFunction · 0.70

Tested by

no test coverage detected