func (s *Socket) releaseWebSocketJsFuncs() {
	s.jsFuncs.onOpen.Release()
	s.jsFuncs.onClose.Release()
	s.jsFuncs.onError.Release()
	s.jsFuncs.onMessage.Release()
}
// releaseWebSocketJsFuncs releases the event listener functions.
releaseWebSocketJsFuncs releases the event listener functions.
// releaseWebSocketJsFuncs releases the event listener functions .
func (s *Socket) releaseWebSocketJsFuncs() {
	s.jsFuncs.onOpen.Release()
	s.jsFuncs.onClose.Release()
	s.jsFuncs.onError.Release()
	s.jsFuncs.onMessage.Release()
}
func ( s * Socket ) releaseWebSocketJsFuncs ( ) { s . jsFuncs . onOpen . Release ( ) s . jsFuncs . onClose . Release ( ) s . jsFuncs . onError . Release ( ) s . jsFuncs . onMessage . Release ( ) }
releaseWebSocketJsFuncs releases the event listener functions.
releaseWebSocketJsFuncs releases the event listener functions .