rpc: Add a general-purpose "destroy" method
This comes out of discussion on !1200 (merged).
It would be neat to have a general purpose "destroy or shutdown this object" method that multiple objects can receive.
Note that this might require some changes in our method implementation design, so that it can release one strong ID, but leave the others pointing to a shut-down object. This would require that the method implementation receive the specific object ID that it was sent to (rather than Arc<Object>
),
Edited by Nick Mathewson