Oct. 3, 2017
2:16 a.m.
On Mon, Oct 2, 2017 at 9:31 PM, Eric Snow <ericsnowcurrently@gmail.com> wrote:
On DECREF there shouldn't be a problem except possibly with a small race between decrementing the refcount and checking for a refcount of 0. We could address that several different ways, including allowing the pending call to get queued only once (or being a noop the second time).
Alternately, the channel could own a reference and DECREF it in the owning interpreter once the refcount reaches 1. -eric