fix shutdown

This commit is contained in:
John
2023-10-14 09:06:40 +02:00
parent 7198a1f015
commit be916c73b6
2 changed files with 5 additions and 3 deletions
+1
View File
@@ -80,6 +80,7 @@ class DirectProtocolHandler : public ProtocolHandler {
* Destructor.
*/
virtual ~DirectProtocolHandler() {
join();
if (m_currentRequest != nullptr) {
delete m_currentRequest;
m_currentRequest = nullptr;