Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions trantor/net/EventLoop.cc
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ EventLoop::~EventLoop()
#endif
}

t_loopInThisThread = nullptr;
#ifdef __linux__
close(wakeupFd_);
#elif defined _WIN32
Expand Down Expand Up @@ -256,7 +255,7 @@ void EventLoop::loop()
{
f();
}

t_loopInThisThread = nullptr;
// Throw the exception from the end
if (loopException)
{
Expand Down