We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 610ac58 commit 6d38f91Copy full SHA for 6d38f91
example/lib/main.dart
@@ -145,6 +145,7 @@ class _MyHomePageState extends State<MyHomePage> {
145
146
@override
147
void dispose() {
148
+ EMClient.getInstance.chatManager.removeMessageEvent("UNIQUE_HANDLER_ID");
149
EMClient.getInstance.chatManager.removeEventHandler("UNIQUE_HANDLER_ID");
150
super.dispose();
151
}
@@ -236,7 +237,7 @@ class _MyHomePageState extends State<MyHomePage> {
236
237
break;
238
case MessageType.CMD:
239
{
- // 当前回调中不会有 CMD 类型消息,CMD 类型消息通过 `EMChatManagerEventHandle#onCmdMessagesReceived` 回调接收
240
+ // 当前回调中不会有 CMD 类型消息,CMD 类型消息通过 [EMChatManagerEventHandle.onCmdMessagesReceived] 回调接收
241
242
243
0 commit comments