Mercurial > hg > Database > Alice
changeset 487:c1cf44777eef dispose
bug fix
author | sugi |
---|---|
date | Mon, 08 Dec 2014 20:55:10 +0900 |
parents | 7be9054f7465 |
children | 7ef0ebb40c9b |
files | src/main/java/alice/topology/manager/keeparive/ListManager.java |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)); } }