~unity-team/bamf/trunk

Viewing all changes in revision 547.

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2013-06-13 14:17:51 UTC
  • mfrom: (424.9.29 factory-rewrite)
  • Revision ID: tarmac-20130613141751-2fvcf6u48zss64pu
BamfFactory: fix references of allocated/closed views; improve re-matching of views

Now the ownership of the open views is in the hash-table, closed views must be owned
by clients (if they want to). The factory also tracks the allocated views until they
don't get destroyed to re-use them if possible. Fixes: https://bugs.launchpad.net/bugs/1176524, https://bugs.launchpad.net/bugs/1181717.

Approved by Andrea Azzarone, PS Jenkins bot, Ted Gould.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: