Commit 7a243f4
committed
fix executing state on PermissionUtils
There was an early return on shouldBeUpdated that caused executing to
never become false again. To prevent this issue with future code
changes made a new privateTriggerNotificationPermissionChanged to
encapsulate the executing state. Also added a try..finally to prevent
throwing from creating a bad state.1 parent 4df9146 commit 7a243f4
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
18 | 26 | | |
| 27 | + | |
19 | 28 | | |
20 | 29 | | |
21 | 30 | | |
| |||
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
29 | | - | |
30 | 38 | | |
31 | 39 | | |
0 commit comments