Commit 26808da5 authored by Thomas Markwalder's avatar Thomas Markwalder

[master] Corrected invalid read complaint in D2ClientMgr

valgrind reported an invalid D2ClientMgr is destroyed while in send mode
Added call to stopSender to D2ClientMgr destructor.
parent 0053becd
......@@ -148,6 +148,9 @@ D2ClientMgr::D2ClientMgr() : d2_client_config_(new D2ClientConfig()),
}
D2ClientMgr::~D2ClientMgr(){
if (name_change_sender_) {
stopSender();
}
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment