-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(server): fix leak in FuturesUnordered (#1204)
* fix: remove needless clone in ws background task * fix(server): fix leak in FuturesUnordered The tokio::spawn handles were never removed from `FutursUnordered` which this commit fixes. Reduces the memory usage signficantly but still slightly worse than v0.16.x * Update server/src/transport/ws.rs * cargo fmt * wording
- Loading branch information
Showing
1 changed file
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters