2011-08-19 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_plugin.cc: Set a virtually infinite timeout for plugins. * pandora_windows_service.cc: The Pandora_Windows_Service destructor could try to dereference a NULL pointer. Fixed. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7088d85378
commit
598ebae6e5
|
@ -1,3 +1,11 @@
|
|||
2011-08-19 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* modules/pandora_module_plugin.cc: Set a virtually infinite timeout
|
||||
for plugins.
|
||||
|
||||
* pandora_windows_service.cc: The Pandora_Windows_Service destructor
|
||||
could try to dereference a NULL pointer. Fixed.
|
||||
|
||||
2011-07-29 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* bin/PandoraAgent.exe: Compiled new exe with a bug fixed.
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
|
||||
#include "pandora_module_plugin.h"
|
||||
#include "../pandora_strutils.h"
|
||||
#include <windows.h>
|
||||
#include <windows.h>
|
||||
#include <limits.h>
|
||||
|
||||
using namespace Pandora;
|
||||
using namespace Pandora_Strutils;
|
||||
|
@ -34,6 +35,7 @@ using namespace Pandora_Modules;
|
|||
Pandora_Module_Plugin::Pandora_Module_Plugin (string name, string plugin)
|
||||
: Pandora_Module_Exec ("plugin", plugin) {
|
||||
this->setKind (module_plugin_str);
|
||||
this->setTimeout (INT_MAX);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -83,11 +83,10 @@ Pandora_Windows_Service::setValues (const char * svc_name,
|
|||
*/
|
||||
Pandora_Windows_Service::~Pandora_Windows_Service () {
|
||||
|
||||
if(conf->getValue("proxy_mode") != "") {
|
||||
killTentacleProxy();
|
||||
}
|
||||
|
||||
if (this->conf != NULL) {
|
||||
if(conf->getValue("proxy_mode") != "") {
|
||||
killTentacleProxy();
|
||||
}
|
||||
delete this->conf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue