浏览代码

Merge pull request #2373 from smeda/issue2371_1

Unlock File/Directory monitoring singleton

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 13 年之前
父节点
当前提交
af70666f02
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      esp/services/WsDeploy/WsDeployService.hpp

+ 3 - 0
esp/services/WsDeploy/WsDeployService.hpp

@@ -275,6 +275,8 @@ private:
             s_configFileMonitorSingleton.setown(new CWsDeployFileInfo::CConfigFileMonitorThread(CONFIG_MONITOR_CHECK_INTERVAL, CONFIG_MONITOR_TIMEOUT_PERIOD));
             s_configFileMonitorSingleton->init();
           }
+
+          slock.unlock();
         }
 
         return s_configFileMonitorSingleton.get();
@@ -442,6 +444,7 @@ public:
         setConfigChanged(true);
       }
       setSkipNotification(false);
+      return true;
     };
     virtual const char* getConfigFilePath()
     {