@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.
@@ -3643,6 +3643,8 @@ class Live extends Subscribe$1 {
3643
3643
  this.exit = () => __awaiter$1(this, void 0, void 0, function* () {
3644
3644
  var _l;
3645
3645
  this._clearLiveData();
3646
+ if (this.state !== exports.LiveState.OPEN)
3647
+ return true;
3646
3648
  try {
3647
3649
  /** 退出强制关闭语音 */
3648
3650
  (_l = this.$RTC) === null || _l === void 0 ? void 0 : _l.quit();