Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(p2p): remove socket listeners after destroy
This ensures we don't remove listeners from the peer TCP socket before the socket is destroyed. This prevents edge case errors where a socket emits an error in the split second before it is destroyed.
- Loading branch information