Commit 15b94f2d authored by Santanu Sinha's avatar Santanu Sinha

Fix for UMR

parent aff7f672
...@@ -58,6 +58,10 @@ struct SyncImpl : public Reactor::Impl { ...@@ -58,6 +58,10 @@ struct SyncImpl : public Reactor::Impl {
SyncImpl(Reactor* reactor) SyncImpl(Reactor* reactor)
: Reactor::Impl(reactor) : Reactor::Impl(reactor)
, handlers_()
, shutdown_()
, shutdownFd()
, poller()
{ {
shutdownFd.bind(poller); shutdownFd.bind(poller);
} }
...@@ -204,7 +208,10 @@ private: ...@@ -204,7 +208,10 @@ private:
static constexpr size_t MaxHandlers = (1 << HandlerBits) - 1; static constexpr size_t MaxHandlers = (1 << HandlerBits) - 1;
HandlerList() { HandlerList()
:handlers()
, index_()
{
std::fill(std::begin(handlers), std::end(handlers), nullptr); std::fill(std::begin(handlers), std::end(handlers), nullptr);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment