Explorar el Código

Merge pull request #2373 from smeda/issue2371_1

Unlock File/Directory monitoring singleton

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman hace 13 años
padre
commit
af70666f02
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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()
     {