Commit 668cad0
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 930f62d commit 668cad0
1 file changed
+4
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1721 | 1721 | | |
1722 | 1722 | | |
1723 | 1723 | | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
1727 | | - | |
1728 | | - | |
1729 | | - | |
1730 | 1724 | | |
1731 | 1725 | | |
1732 | 1726 | | |
| |||
1737 | 1731 | | |
1738 | 1732 | | |
1739 | 1733 | | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
1743 | 1734 | | |
1744 | 1735 | | |
1745 | 1736 | | |
1746 | 1737 | | |
1747 | 1738 | | |
1748 | | - | |
1749 | | - | |
1750 | | - | |
1751 | 1739 | | |
1752 | | - | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
1753 | 1743 | | |
1754 | | - | |
| 1744 | + | |
1755 | 1745 | | |
1756 | 1746 | | |
1757 | 1747 | | |
| |||
0 commit comments