removing / reloading an app will cause all their scheduled calls to be cleaned as well.

This commit is contained in:
gnembon committed 2020-09-07 11:44:46 -03:00
1 parent 81ae5bbb40
commit d072e4946a
1 file changed
+1
@@ -795,6 +795,7 @@ public class CarpetEventServer
public void removeAllHostEvents(String hostName)
{
Event.byName.values().forEach((e) -> e.handler.removeAllCalls(hostName));
scheduledCalls.removeIf(sc -> sc.host != null && sc.host.equals(hostName));
}
public void clearAll()