Store the tokio AbortHandle in TestApp and implement Drop to abort the spawned server task. Previously the JoinHandle was silently dropped, leaving server tasks running indefinitely after tests completed. |
||
|---|---|---|
| .. | ||
| cli | ||
| server | ||
Store the tokio AbortHandle in TestApp and implement Drop to abort the spawned server task. Previously the JoinHandle was silently dropped, leaving server tasks running indefinitely after tests completed. |
||
|---|---|---|
| .. | ||
| cli | ||
| server | ||