Commit b84fd63
authored
fix: Remove dangling global reference to
## Description
Removes a dangling global reference to the `ScreenModule`.
## Changes
When the application reloads, `nativeInstall` is called, which
overwrites the reference to `globalThis` without deleting it. This PR
deletes the reference before creating a new one.
## Test code and steps to reproduce
I've tested it in a new project created using expo (SDK 52) and with
fabric turn on.ScreenModule (#2494)1 parent fa51b58 commit b84fd63
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
0 commit comments