    t_loopInThisThread = NULL;
  }
  
-@@ -108,12 +101,13 @@ void EventLoop::loop()
+@@ -108,12 +103,13 @@ void EventLoop::loop()
    while (!quit_)
    {
      activeChannels_.clear();

   if (connfd < 0)
   {
     int savedErrno = errno;
diff --git a/muduo/net/TimerQueue.cc b/muduo/net/TimerQueue.cc
--- a/muduo/net/TimerQueue.cc
+++ b/muduo/net/TimerQueue.cc

 
 IgnoreSigPipe initObj;
 }
@@ -69,11 +57,17 @@ EventLoop::EventLoop()
     threadId_(CurrentThread::tid()),
     poller_(Poller::newDefaultPoller(this)),
     timerQueue_(new TimerQueue(this)),
