Commit 64e2231
committed
rm regiseruser queue to fix thread issues
* Removed background queue as some objects such as
_outcomeEventsController are not thread safe resulting in some rare
crashes due to dangling pointers.
* We run on the main queue as registerUser has multiple entries points,
so from other queues.
- The main queue is where most of the OneSignal code that is not
thread safe also runs.1 parent 9aad5e5 commit 64e2231
1 file changed
+4
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1610 | 1610 | | |
1611 | 1611 | | |
1612 | 1612 | | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | | - | |
1617 | | - | |
1618 | | - | |
1619 | 1613 | | |
1620 | 1614 | | |
1621 | 1615 | | |
| |||
1631 | 1625 | | |
1632 | 1626 | | |
1633 | 1627 | | |
1634 | | - | |
1635 | | - | |
1636 | | - | |
1637 | 1628 | | |
1638 | | - | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
1639 | 1632 | | |
1640 | | - | |
| 1633 | + | |
1641 | 1634 | | |
1642 | 1635 | | |
1643 | 1636 | | |
| |||
0 commit comments