This commit is contained in:
Redkale
2018-01-03 16:27:35 +08:00
parent 30d4296687
commit 71b91e6896

View File

@@ -779,7 +779,7 @@ public abstract class WebSocket<G extends Serializable, T> {
* 显式地关闭WebSocket * 显式地关闭WebSocket
*/ */
public final void close() { public final void close() {
if (this._runner != null) this._runner.closeRunner(CLOSECODE_FORCED); if (this._runner != null) this._runner.closeRunner(CLOSECODE_FORCED, "user close");
} }
/** /**