ServerContext clear timer queue

This commit is contained in:
Michael Davidsaver committed 2017-06-22 13:51:38 +02:00
1 parent ba76cd0eb3
commit 3dca3dc38f
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -329,6 +329,9 @@ void ServerContextImpl::shutdown()
// this will also destroy all channels
destroyAllTransports();
// drop timer queue
_timer.reset();
// response handlers hold strong references to us,
// so must break the cycles
_responseHandler.reset();