v.io/x/ref/runtime/internal/rpc: call context.CancelFunc's when discarding rpc's typeCache

This change adds a close() method to rpc's typeCache so that the
context.CancelFunc calls stored within it can be called when the
typeCache is being discarded.  This change is primarily to
silence the context leak detector when running tests.

Change-Id: I3b932e21311d0f273e3f52555326be1573df2518
3 files changed
tree: d73278c82ddf1d282cbc5e021615b32d20011dc5
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.