DescriptionFix It2Me Host doesn't kill the native process after canceling a share
Currently in the webapp, we didin't disconnect the native messaging port
after a share and therefore keeping the remote-assistance process alive.
Summary of changes:
1. Disconnect the native message port when the host status changes to
DISCONNECTED or ERROR.
2. Remove remoting.hostSession global and wrap host_screen.js in an
anonymous function.
BUG=416676
Committed: https://crrev.com/37e5586ce5de431a42bbc1e0e8c65e19a4ba0654
Cr-Commit-Position: refs/heads/master@{#314670}
Patch Set 1 #
Total comments: 7
Patch Set 2 : Reviewer's feedback #
Messages
Total messages: 10 (3 generated)
|