Skip to content

Commit f7ddbba

Browse files
committed
move shutdown to close()
Signed-off-by: Cassandra Coyle <[email protected]>
1 parent 18e5901 commit f7ddbba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/main/java/com/microsoft/durabletask/DurableTaskGrpcWorker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public void start() {
8787
* configured.
8888
*/
8989
public void close() {
90+
this.isNormalShutdown = true;
9091
this.shutDownWorkerPool();
9192
this.closeSideCarChannel();
9293
}
@@ -219,7 +220,6 @@ public void startAndBlock() {
219220
* Stops the current worker's listen loop, preventing any new orchestrator or activity events from being processed.
220221
*/
221222
public void stop() {
222-
this.isNormalShutdown = true;
223223
this.close();
224224
}
225225

0 commit comments

Comments
 (0)