Commit 39c91a8
authored
NetworkPreference.best should be POSIX on older platforms (#896)
Motivation:
While NetworkPreference.best was supposed to abstract away the choice of
exactly which event loop would be used, on older Darwin platforms it
would actually lead to runtime crashes as it would try to use an
implementation it didn't have.
Modifications:
Have .best's .implementation fall back to POSIX on older platforms.
Result:
Fewer crashes on older platforms.1 parent 183e380 commit 39c91a8
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | | - | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments