Commit 3a9a06c
fix: revert server lifecycle to background Task pattern
The runServiceClosure/runService() pattern from the graceful shutdown
agent caused SWIFT TASK CONTINUATION MISUSE crashes. Reverted to
starting Hummingbird in a background Task within connect() and using
withCheckedContinuation in main.swift to keep the process alive.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c8f89f5 commit 3a9a06c
File tree
2 files changed
+11
-17
lines changed- swift/Sources/iMessageMax
- Server
2 files changed
+11
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
136 | 128 | | |
137 | | - | |
138 | 129 | | |
139 | 130 | | |
140 | 131 | | |
| |||
446 | 437 | | |
447 | 438 | | |
448 | 439 | | |
449 | | - | |
450 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
451 | 443 | | |
452 | 444 | | |
453 | 445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
0 commit comments