~mhr3/unity-scopes-api/merge-trunk

Viewing all changes in revision 428.

  • Committer: Tarmac
  • Author(s): Michi Henning
  • Date: 2014-07-30 23:45:58 UTC
  • mfrom: (423.2.4 fix-reaper-finished)
  • Revision ID: tarmac-20140730234558-izf8huos3p13xoz4
Fixed ReplyObject::finished() to call disconnect() last. When the
reaper called finished(), the early disconnect() dropped the
last shared_ptr to this instance, causing the call to
listener_base_->finished() to go into an already-destroyed
instance. Added test for this case. Fixes: https://bugs.launchpad.net/bugs/1348702.

Approved by PS Jenkins bot, Michal Hruby.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: