Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 72b8dc3

Browse files
committed
make innercallable volatile
1 parent 8e8e5d4 commit 72b8dc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gax/src/main/java/com/google/api/gax/rpc/Watchdog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class WatchdogStream<ResponseT> extends StateCheckingResponseObserver<ResponseT>
183183
private boolean autoAutoFlowControl = true;
184184

185185
private final ResponseObserver<ResponseT> outerResponseObserver;
186-
private StreamController innerController;
186+
private volatile StreamController innerController;
187187

188188
@GuardedBy("lock")
189189
private State state = State.IDLE;

0 commit comments

Comments
 (0)