Skip to content

Commit 2a8391d

Browse files
committed
Do not close System.out (#234)
1 parent dfd6bc9 commit 2a8391d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/xyz/gianlu/librespot/player/mixing/AudioSink.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public void close() throws IOException {
265265
line = null;
266266
}
267267

268-
if (out != null) out.close();
268+
if (out != null && out != System.out) out.close();
269269
}
270270

271271
@NotNull

0 commit comments

Comments
 (0)