~unity-team/unity-mir/resume-flicker

Viewing all changes in revision 149.

  • Committer: Tarmac
  • Author(s): Gerry Boland
  • Date: 2013-11-26 09:51:43 UTC
  • mfrom: (148.1.1 fix-shutdown-crash)
  • Revision ID: tarmac-20131126095143-nbpm1mlznb2fft93
InputArea: don't use lambda function as slot, can cause crash on shutdown

Using lambda function as slot can introduce crash as the slot's object deletion is not registered unlike with traditional signal/slot connections. As a result, on signal emission, the lambda can be called on a deleted object. Fixes: https://bugs.launchpad.net/bugs/1253685.

Approved by PS Jenkins bot, Michał Sawicz.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: