mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
fhem.pl: remove old internal timers at rereadcfg (Forum #96164)
git-svn-id: https://svn.fhem.de/fhem/trunk@18343 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
32e0f83a50
commit
424ef873a7
@ -219,8 +219,6 @@ FHEMWEB_Initialize($)
|
||||
"widgetOverride"
|
||||
);
|
||||
|
||||
InternalTimer(time()+60, "FW_closeInactiveClients", 0, 0);
|
||||
|
||||
$FW_dir = "$attr{global}{modpath}/www";
|
||||
$FW_icondir = "$FW_dir/images";
|
||||
$FW_cssdir = "$FW_dir/pgm2";
|
||||
@ -269,6 +267,10 @@ FW_Define($$)
|
||||
|
||||
FW_Undef($hash, undef) if($hash->{OLDDEF}); # modify
|
||||
|
||||
RemoveInternalTimer(0, "FW_closeInactiveClients");
|
||||
InternalTimer(time()+60, "FW_closeInactiveClients", 0, 0);
|
||||
|
||||
|
||||
foreach my $pe ("fhemSVG", "openautomation", "default") {
|
||||
FW_readIcons($pe);
|
||||
}
|
||||
|
@ -1462,6 +1462,8 @@ CommandRereadCfg($$)
|
||||
my $informMe = $inform{$name};
|
||||
%inform = ();
|
||||
%fuuidHash = ();
|
||||
%intAt = ();
|
||||
@intAtA = ();
|
||||
|
||||
doGlobalDef($cfgfile);
|
||||
my $ret;
|
||||
|
Loading…
Reference in New Issue
Block a user