@realsee/live 0.5.2-dev.4 → 0.5.2-dev.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3634,6 +3634,8 @@ class Live extends Subscribe$1 {
3634
3634
  this.exit = () => __awaiter$1(this, void 0, void 0, function* () {
3635
3635
  var _l;
3636
3636
  this._clearLiveData();
3637
+ if (this.state !== LiveState.OPEN)
3638
+ return true;
3637
3639
  try {
3638
3640
  /** 退出强制关闭语音 */
3639
3641
  (_l = this.$RTC) === null || _l === void 0 ? void 0 : _l.quit();