This commit is contained in:
@@ -228,7 +228,9 @@ public class WebSocketRunner implements Runnable {
|
||||
}
|
||||
}
|
||||
|
||||
public synchronized void closeRunner() {
|
||||
public void closeRunner() {
|
||||
if (closed) return;
|
||||
synchronized (this) {
|
||||
if (closed) return;
|
||||
closed = true;
|
||||
try {
|
||||
@@ -246,6 +248,7 @@ public class WebSocketRunner implements Runnable {
|
||||
}
|
||||
webSocket.onClose(0, null);
|
||||
}
|
||||
}
|
||||
|
||||
private static final class Masker {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user