mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
fhem.pl: remove old internal timers at rereadcfg (Forum #96164)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18343 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
eef37b17f9
commit
83558dff7e
@ -219,8 +219,6 @@ FHEMWEB_Initialize($)
|
|||||||
"widgetOverride"
|
"widgetOverride"
|
||||||
);
|
);
|
||||||
|
|
||||||
InternalTimer(time()+60, "FW_closeInactiveClients", 0, 0);
|
|
||||||
|
|
||||||
$FW_dir = "$attr{global}{modpath}/www";
|
$FW_dir = "$attr{global}{modpath}/www";
|
||||||
$FW_icondir = "$FW_dir/images";
|
$FW_icondir = "$FW_dir/images";
|
||||||
$FW_cssdir = "$FW_dir/pgm2";
|
$FW_cssdir = "$FW_dir/pgm2";
|
||||||
@ -269,6 +267,10 @@ FW_Define($$)
|
|||||||
|
|
||||||
FW_Undef($hash, undef) if($hash->{OLDDEF}); # modify
|
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") {
|
foreach my $pe ("fhemSVG", "openautomation", "default") {
|
||||||
FW_readIcons($pe);
|
FW_readIcons($pe);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user