Commit 450d790
authored
* Don't set api namespace for remote config in Android demo app
* Fix WebView memory leak by adding destroy() call to onDetachedFromWindow()
WebViews were lingering in Chrome inspector after closing the editor because GutenbergView.onDetachedFromWindow() cleaned up listeners but didn't call WebView.destroy(). Adding this.destroy() ensures WebViews are properly disposed of when detached from the window hierarchy.
1 parent 59692bb commit 450d790
File tree
2 files changed
+1
-1
lines changed- android
- Gutenberg/src/main/java/org/wordpress/gutenberg
- app/src/main/java/com/example/gutenbergkit
2 files changed
+1
-1
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| 548 | + | |
548 | 549 | | |
549 | 550 | | |
550 | 551 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
0 commit comments