Commit b4a1e20
committed
Minify chances of crashing with new action queue
This does not really apply to bluewing-cpp-server as it's a single-threaded server. However, it is a significant edit.
The main thread now queues things for the lacewing event pump to processs, if event pump is not being ticked in main thread. Only unhosting is a blocking action that freezes the main thread until action is processed; everything else is queued and processed later.
This is now build 38 as MMF2Exts would have it (specifically, as SortaCore/MMF2Exts@d603e29 would have it).
A few improvements will still happen to bluewing-cpp-server before build 38 is released here.1 parent 887bcdc commit b4a1e20
2 files changed
+211
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1694 | 1694 | | |
1695 | 1695 | | |
1696 | 1696 | | |
1697 | | - | |
1698 | | - | |
1699 | 1697 | | |
1700 | 1698 | | |
1701 | 1699 | | |
1702 | 1700 | | |
1703 | | - | |
| 1701 | + | |
1704 | 1702 | | |
1705 | 1703 | | |
1706 | 1704 | | |
| |||
1924 | 1922 | | |
1925 | 1923 | | |
1926 | 1924 | | |
1927 | | - | |
| 1925 | + | |
1928 | 1926 | | |
1929 | 1927 | | |
1930 | 1928 | | |
| |||
2029 | 2027 | | |
2030 | 2028 | | |
2031 | 2029 | | |
2032 | | - | |
2033 | 2030 | | |
2034 | 2031 | | |
2035 | 2032 | | |
| |||
2065 | 2062 | | |
2066 | 2063 | | |
2067 | 2064 | | |
2068 | | - | |
| 2065 | + | |
2069 | 2066 | | |
2070 | 2067 | | |
2071 | 2068 | | |
| |||
0 commit comments