Peter M. Groen
/
FlashMQ
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
4bbc76ec248db197020f06003332f3824ca4b198
Authored by
Wiebe Cazemier
2020-12-29 09:20:27 +0100
1 parent
b4a28abf
Fixed crash in keep-alive checking
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
threaddata.cpp
threaddata.cpp
View file @
4bbc76e
...
...
@@ -81,7 +81,7 @@ bool ThreadData::doKeepAliveCheck()
81
81
while (it != clients_by_fd.end())
82
82
{
83
83
Client_p &client = it->second;
84
- if (client
->keepAliveExpired())
84
+ if (client
&& client
->keepAliveExpired())
85
85
{
86
86
it = clients_by_fd.erase(it);
87
87
}
...
...