mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-23 07:00:09 +00:00
!598 【master】【OpenHarmony 5.0.0.60】【RK3568】【压力测试】【ToC】【高概率】【XTS】出现13次 进程com.ohos.photos下出现jscrash,栈名:off
Merge pull request !598 from liujuan/master
This commit is contained in:
commit
0c95a404e8
@ -243,8 +243,11 @@ export class ScreenManager {
|
||||
}
|
||||
|
||||
destroyMainWindow(): void {
|
||||
this.getHost()?.off('windowSizeChange', (data: window.Size) => {
|
||||
});
|
||||
try {
|
||||
this.getHost()?.off('windowSizeChange');
|
||||
} catch (error) {
|
||||
Log.error(TAG, `destroy window error: ${error}, code: ${error?.code}`);
|
||||
}
|
||||
}
|
||||
|
||||
getAvoidArea(): void {
|
||||
|
Loading…
Reference in New Issue
Block a user