Fixes #697 ClientRunningMonitor shutdown delayExector threadpool

This commit is contained in:
Neal Hu
2018-06-14 21:28:10 +08:00
parent 4f4b016da3
commit 967f8d6b0f

View File

@@ -98,6 +98,10 @@ public class ClientRunningMonitor extends AbstractCanalLifeCycle {
String path = ZookeeperPathUtils.getDestinationClientRunning(this.destination, clientData.getClientId());
zkClient.unsubscribeDataChanges(path, dataListener);
releaseRunning(); // 尝试一下release
//Fix issue #697
if (delayExector != null) {
delayExector.shutdown();
}
}
// 改动记录: