Browse Source

revert debug code

cl-refactor
subtly 10 years ago
parent
commit
39fe38395b
  1. 8
      libwhisper/WhisperHost.cpp

8
libwhisper/WhisperHost.cpp

@ -163,13 +163,7 @@ void WhisperHost::uninstallWatch(unsigned _i)
void WhisperHost::doWork()
{
for (auto i: peerSessions())
{
auto w = i.first->cap<WhisperPeer>();
if (w)
w->sendMessages();
else
cwarn << "cap<WhisperPeer>() returned nullptr";
}
i.first->cap<WhisperPeer>().get()->sendMessages();
cleanup();
}

Loading…
Cancel
Save