mirror of
https://gitee.com/openharmony/applications_mms
synced 2024-11-22 23:29:41 +00:00
!165 "jscrash of close and id 5.0.1
Merge pull request !165 from zhouhongli2023/OpenHarmony-5.0.1-Release
This commit is contained in:
commit
b331cf3089
@ -1500,8 +1500,8 @@ export default class ConversationController {
|
||||
let tempWeekId = item.week?.id;
|
||||
if (list.length > 0) {
|
||||
item.dateShow =
|
||||
(tempDateId != (list[list.length-1]).date.id)
|
||||
&& (tempWeekId != (list[list.length-1]).week.id)
|
||||
(tempDateId != (list[list.length-1]).date?.id)
|
||||
&& (tempWeekId != (list[list.length-1]).week?.id)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -112,7 +112,7 @@ export abstract class WorkerWrapper {
|
||||
HiLog.i(TAG, `${this.getWorkerType()} worker close!`);
|
||||
if (this.mWorker != null) {
|
||||
HiLog.i(TAG, 'this mWorker is right');
|
||||
this.mWorker.terminate();
|
||||
this.mWorker?.terminate();
|
||||
}
|
||||
this.mWorker = null;
|
||||
this.callBacks.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user