fixed issue #662

This commit is contained in:
七锋
2018-06-05 14:59:33 +08:00
parent e251de79f3
commit fedc07352b

View File

@@ -457,8 +457,10 @@ public class SimpleCanalConnector implements CanalConnector {
}
running = true;
mutex.get();// 阻塞等待
} else {
// 单机模式直接设置为running
running = true;
}
} catch (InterruptedException e) {
Thread.currentThread().interrupt();