From b357aed488d7d2781c2c5f7fecde83f27b973af0 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 15 Nov 2011 15:03:41 -0800 Subject: Actually, that's the proper fix for the Listener system, otherwise accept() will never stop, rendering the stop method of the Listener inneffective. --- src/Socket.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Socket.cc') 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::accept() throw (GeneralException) { } } else { Printer::elog(E_SOCKET, "Listener at %p got a new connection", this); + m_evtR->reset(); return IO(new Socket(s)); } } -- cgit v1.2.3