Commit ddb2d043 authored by Thawan Kooburat's avatar Thawan Kooburat
Browse files

ZOOKEEPER-1798. Fix race condition in testNormalObserverRun (Part 2) (thawan, fpj via thawan)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1541814 13f79535-47bb-0310-9956-ffa450edef68
parent 3dd46f34
......@@ -136,4 +136,12 @@ public class ObserverZooKeeperServer extends LearnerZooKeeperServer {
public String getState() {
return "observer";
};
@Override
public void shutdown() {
super.shutdown();
if (syncRequestProcessorEnabled && syncProcessor != null) {
syncProcessor.shutdown();
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment