removing / reloading an app will cause all their scheduled calls to be cleaned as well.
This commit is contained in:
1 parent
81ae5bbb40
commit
d072e4946a
1 file changed
+1
@@ -795,6 +795,7 @@ public class CarpetEventServer
|
|||||||
public void removeAllHostEvents(String hostName)
|
public void removeAllHostEvents(String hostName)
|
||||||
{
|
{
|
||||||
Event.byName.values().forEach((e) -> e.handler.removeAllCalls(hostName));
|
Event.byName.values().forEach((e) -> e.handler.removeAllCalls(hostName));
|
||||||
|
scheduledCalls.removeIf(sc -> sc.host != null && sc.host.equals(hostName));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clearAll()
|
public void clearAll()
|
||||||
|
|||||||
Reference in new issue
Block a user