Showing
3 changed files
with
5 additions
and
0 deletions
| @@ -100,6 +100,7 @@ export struct DetailPlayLivePage { | @@ -100,6 +100,7 @@ export struct DetailPlayLivePage { | ||
| 100 | Logger.info(TAG, `wyj-aboutToDisappear`) | 100 | Logger.info(TAG, `wyj-aboutToDisappear`) |
| 101 | await this.playerController?.stop() | 101 | await this.playerController?.stop() |
| 102 | await this.playerController?.release() | 102 | await this.playerController?.release() |
| 103 | + this.chatRoomController.disconnectLiveRoom() | ||
| 103 | } | 104 | } |
| 104 | 105 | ||
| 105 | configChatRoom() { | 106 | configChatRoom() { |
| @@ -84,6 +84,7 @@ export struct DetailPlayVLivePage { | @@ -84,6 +84,7 @@ export struct DetailPlayVLivePage { | ||
| 84 | 84 | ||
| 85 | aboutToDisappear(): void { | 85 | aboutToDisappear(): void { |
| 86 | this.closeFullScreen() | 86 | this.closeFullScreen() |
| 87 | + this.chatRoomController.disconnectLiveRoom() | ||
| 87 | } | 88 | } |
| 88 | 89 | ||
| 89 | openFullScreen() { | 90 | openFullScreen() { |
-
Please register or login to post a comment