# HG changeset patch # User sugi # Date 1418039710 -32400 # Node ID c1cf44777eef480545a0ef962617c6e5046a3e04 # Parent 7be9054f74657e475b721e9836cbbecd1cd0f04d bug fix diff -r 7be9054f7465 -r c1cf44777eef src/main/java/alice/topology/manager/keeparive/ListManager.java --- a/src/main/java/alice/topology/manager/keeparive/ListManager.java Sun Dec 07 18:30:09 2014 +0900 +++ b/src/main/java/alice/topology/manager/keeparive/ListManager.java Mon Dec 08 20:55:10 2014 +0900 @@ -85,8 +85,13 @@ } public void deleteAll(String name) { + if (TaskExecuter.getInstance().getNowTask().getManagerKey().equals(name)) + TaskExecuter.getInstance().skip(); TaskInfo task = new TaskInfo(TaskType.CLOSE); task.setInfo(name, 0); while(deleteTask(task)); + task = new TaskInfo(TaskType.PING); + task.setInfo(name, 0); + while(deleteTask(task)); } }