Commit 7abc8bff authored by Thomas Markwalder's avatar Thomas Markwalder
Browse files

[3407] valgrind complained on a unit test

scheduled write timer was not getting cancelled
before IOService is destroyed.
parent 50be8618
......@@ -329,6 +329,10 @@ public:
/// Note the controller singleton is destroyed. This is essential to ensure
/// a clean start between tests.
virtual ~DControllerTest() {
if (write_timer_) {
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