Skip to content

Commit 659db1d

Browse files
fix: volatile boolean overflow in NonBlockingLineWriter
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 68994fb commit 659db1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dev/enola/be/io/NonBlockingLineWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class NonBlockingLineWriter extends TaskWithoutInputOutput implements Lin
1111

1212
private final LineWriter delegate;
1313
private final BlockingQueue<Object> queue;
14-
private boolean overflow;
14+
private volatile boolean overflow;
1515

1616
public NonBlockingLineWriter(int queueCapacity, LineWriter delegate) {
1717
this.delegate = delegate;

0 commit comments

Comments
 (0)