Skip to content

Commit

Permalink
rn fix global.__mpxAppHotLaunched2
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyuki authored and WX-DongXing committed Jan 9, 2025
1 parent fa0b394 commit 88facb4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/core/src/platform/createApp.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ export default function createApp (options) {
return () => {
changeSubscription && changeSubscription.remove()
resizeSubScription && resizeSubScription.remove()
// 热启动情况下,app会被销毁重建,将__mpxAppHotLaunched重置保障路由等初始化逻辑正确执行
global.__mpxAppHotLaunched = false
}
}, [])

Expand Down

0 comments on commit 88facb4

Please sign in to comment.