Commit e7155d3
committed
prepare for new user BEFORE setting user to
* On logout, we were setting the user to `nil` to early
* When logout is called, we prepare for new user, and the operation repo and executors flush their Deltas. However, they still need access to user properties, so set user to `nil` after this.nil
1 parent d4816ab commit e7155d3
File tree
1 file changed
+6
-1
lines changed- iOS_SDK/OneSignalSDK/OneSignalUser/Source
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
247 | 251 | | |
248 | 252 | | |
249 | 253 | | |
| |||
304 | 308 | | |
305 | 309 | | |
306 | 310 | | |
| 311 | + | |
307 | 312 | | |
308 | 313 | | |
309 | 314 | | |
| |||
0 commit comments