set a default close reason string

This commit is contained in:
Benjamin Sergeant 2019-03-14 14:52:51 -07:00
parent d6b49b54d4
commit 310ab990bd

View File

@ -766,6 +766,7 @@ namespace ix
_socket->close();
_closeCode = 1000;
_closeReason = "Normal Closure";
setReadyState(CLOSED);
}