summaryrefslogtreecommitdiff
path: root/src/Socket.cc
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-11-15 15:03:41 -0800
committerPixel <pixel@nobis-crew.org>2011-11-15 15:03:41 -0800
commitb357aed488d7d2781c2c5f7fecde83f27b973af0 (patch)
tree35c3102272c4395b63c04b0c2bd25d50e5895058 /src/Socket.cc
parent7a237c6b197ffa7a48d220863ded6a6ea0c3e5ae (diff)
Actually, that's the proper fix for the Listener system, otherwise accept() will never stop, rendering the stop method of the Listener inneffective.
Diffstat (limited to 'src/Socket.cc')
-rw-r--r--src/Socket.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Socket.cc b/src/Socket.cc
index 344fcf7..a65bb76 100644
--- a/src/Socket.cc
+++ b/src/Socket.cc
@@ -505,6 +505,7 @@ Balau::IO<Balau::Socket> Balau::Socket::accept() throw (GeneralException) {
}
} else {
Printer::elog(E_SOCKET, "Listener at %p got a new connection", this);
+ m_evtR->reset();
return IO<Socket>(new Socket(s));
}
}