1
0
Fork 0

fixed out of statistics

This commit is contained in:
Frank Celler 2016-05-04 21:55:45 +00:00
parent a6f88e8b84
commit b0fd43d5ce
1 changed files with 3 additions and 1 deletions

View File

@ -150,7 +150,9 @@ bool HttpCommTask::processRead() {
RequestStatisticsAgent::acquire();
#if USE_DEV_TIMERS
RequestStatisticsAgent::_statistics->_id = (void*) this;
if (RequestStatisticsAgent::_statistics != nullptr) {
RequestStatisticsAgent::_statistics->_id = (void*) this;
}
#endif
_newRequest = false;