From 24db427734325c65c6c577f6a4c6093b174a0d3e Mon Sep 17 00:00:00 2001 From: Superjom Date: Sat, 16 Dec 2017 19:46:57 +0800 Subject: [PATCH] code clean --- visualdl/logic/im.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/visualdl/logic/im.h b/visualdl/logic/im.h index 47f28084..6d6ab428 100644 --- a/visualdl/logic/im.h +++ b/visualdl/logic/im.h @@ -29,9 +29,7 @@ class IM final { public: IM() { storage_.reset(new MemoryStorage(&executor_)); } // IM(StorageBase::Type type, StorageBase::Mode mode); - ~IM() { executor_.Quit(); - std::this_thread::sleep_for(std::chrono::milliseconds(1000)); - } + ~IM() { executor_.Quit(); } void MaintainRead(const std::string &dir, int msecs) { LOG(INFO) << "start maintain read"; -- GitLab