Following handle lifetimes in the Mojo EDK is complicated by the myriad of handle classes (MojoHandle, MojoPlatformHandle, PlatformHandle, ScopedPlatformhandle), which pre-date C++ move-only semantics.
It would be awesome to update the EDK to use move-only handle containers, e.g. base::ScopedGeneric, if possible, to provide stronger handle-lifetime guarantees.
Comment 1 by roc...@chromium.org
, Aug 8 2017