Commit 92c9764
committed
Guard against erroneous disposal (fixes #28)
During plugin updates, Hyper calls the `clearCache` method. This method
appears to execute `onUnload` without the context of `onApp`. Adding a
guard clause as a quick-fix, as I do not fully understand what is taking
place currently.1 parent 2738a10 commit 92c9764
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
9 | | - | |
| 13 | + | |
10 | 14 | | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
0 commit comments