Skip to content
Snippets Groups Projects
Commit d1598380 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

proxy server: fix build without push notifications

parent 69fe399d
Branches
Tags
No related merge requests found
......@@ -280,6 +280,7 @@ DhtProxyServer::~DhtProxyServer()
if (l.second.response)
l.second.response->done();
}
#ifdef OPENDHT_PUSH_NOTIFICATIONS
for (auto& lm: pushListeners_) {
for (auto& ls: lm.second.listeners)
for (auto& l : ls.second) {
......@@ -291,6 +292,7 @@ DhtProxyServer::~DhtProxyServer()
}
}
pushListeners_.clear();
#endif
}
if (logger_)
logger_->d("[proxy:server] closing http server");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment