Commit c56f337
committed
refactor(authentication): improve cooldown timer management
- Fixed a memory leak in AuthenticationBloc by ensuring the cooldown timer is properly cancelled when the BLoC is closed.
- Removed redundant logic from the RequestCodePage UI, making the AuthenticationBloc the single source of truth for cooldown state transitions.1 parent 1727d88 commit c56f337
File tree
2 files changed
+4
-4
lines changed- lib/authentication
- bloc
- view
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| 173 | + | |
171 | 174 | | |
172 | 175 | | |
173 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | 203 | | |
207 | 204 | | |
208 | 205 | | |
| |||
0 commit comments