Compare commits

...
2 Commits
Author SHA1 Message Date
TD-erandGitHub 44f4559f3c Merge pull request #5595 from tonhuisman/bugfix/Saving-task-cleared-the-cache-unexpectedly
[Bugfix] Taskname wasn't saved because cache was cleared unexpectedly
2026-07-25 21:27:10 +02:00
Ton Huisman d3c1b2adf6 [Bugfix] Taskname wasn't saved because cache was cleared unexpectedly 2026-07-25 21:24:11 +02:00
+1 -2
View File
@@ -817,8 +817,7 @@ bool PluginCall(uint8_t Function, struct EventStruct *event, String& str)
}
}
if ((Function == PLUGIN_INIT)
|| (Function == PLUGIN_EXIT)) {
if (Function == PLUGIN_INIT) {
clearTaskCache(event->TaskIndex);
UserVar.clear_computed(event->TaskIndex);
}