~mir-team/mir/development-branch

Viewing all changes in revision 3998.

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2017-01-28 01:51:43 UTC
  • mfrom: (3969.3.7 fix-1655929)
  • Revision ID: tarmac-20170128015143-3r30cardfp70zki4
start discarding calls in the MirProtobufRpcChannel immediately after getting a disconnect message. This ensures that no calls from other threads can send messages, (or more harmful, put messages in the PendingCallCache that won't get serviced by the server, or forcibly ended by the client shutdown code)

fixes: LP: #1655929. Fixes: https://bugs.launchpad.net/bugs/1655929.

Approved by mir-ci-bot, Alberto Aguirre, Alan Griffiths.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: