Skip to content

Commit 783408e

Browse files
committed
Do not wait forever when shutting down MercuryClient
1 parent aa4074f commit 783408e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/xyz/gianlu/librespot/mercury/MercuryClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public void close() {
252252
} else {
253253
synchronized (callbacks) {
254254
try {
255-
callbacks.wait();
255+
callbacks.wait(100);
256256
} catch (InterruptedException ignored) {
257257
}
258258
}

0 commit comments

Comments
 (0)