DescriptionMojo C++ bindings: fix Connector teardown.
It is allowed to disconnect a Connector instance (by CloseMessagePipe() or
PassMessagePipe()) on the creation thread, and then destroy the instance on any
thread. However, without this fix it doesn't work because a Connector instance
still has got WeakPtr and mojo::Watcher bound to the creation thread.
BUG=594244
Committed: https://crrev.com/65085d5fe6a009f01d7630c2905f19e32104ef7c
Cr-Commit-Position: refs/heads/master@{#419626}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 10 (5 generated)
|