fix:调整异常后中断持续发送

This commit is contained in:
liyi 2025-04-16 14:28:18 +08:00
parent a259ed9dd3
commit 50944a082b

View File

@ -595,13 +595,16 @@ class StartChartManage {
//
void startTalkRejectMessageTimer() async {
try {
talkRejectTimer ??= Timer.periodic(
Duration(seconds: _defaultIntervalTime),
(Timer timer) async {
_sendTalkRejectMessage();
},
);
} catch (e) {
AppLog.log("startTalkRejectMessageTimer e:${e}");
} finally {
//
StartChartTalkStatus.instance.setRejected();
//
@ -617,6 +620,7 @@ class StartChartManage {
talkePingOverTimeTimerManager.cancel();
talkDataOverTimeTimerManager.cancel();
}
}
//
void sendTalkExpectMessage({required TalkExpectReq talkExpect}) async {