
public stop (): void {
this._processConnectingAndDisconnecting = true
this._ua?.stop()
this._ua?.unregister({ all: true })
}this._ua?.stop() Эквивалентно этому this._ua если this._ua == null|undefinedESLint: Expected an assignment or function call and instead saw an expression.(no-unused-expressions)