Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wuyanan
2024-10-14 14:55:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
65b1d985e6b55eba1ed30b1d051f1b7eb4ee7b94
65b1d985
1 parent
747a3034
ref |> 修复离开直播详情时,没有退出直播IM问题
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/im/LiveDetailChatRoomController.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayLivePage.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayVLivePage.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/im/LiveDetailChatRoomController.ets
View file @
65b1d98
...
...
@@ -51,4 +51,7 @@ export class LiveDetailChatRoomController {
room.enterRoom()
}
}
disconnectLiveRoom() {
LiveRoomManager.sharedManager().disconnect()
}
}
\ No newline at end of file
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayLivePage.ets
View file @
65b1d98
...
...
@@ -100,6 +100,7 @@ export struct DetailPlayLivePage {
Logger.info(TAG, `wyj-aboutToDisappear`)
await this.playerController?.stop()
await this.playerController?.release()
this.chatRoomController.disconnectLiveRoom()
}
configChatRoom() {
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayVLivePage.ets
View file @
65b1d98
...
...
@@ -84,6 +84,7 @@ export struct DetailPlayVLivePage {
aboutToDisappear(): void {
this.closeFullScreen()
this.chatRoomController.disconnectLiveRoom()
}
openFullScreen() {
...
...
Please
register
or
login
to post a comment