summaryrefslogtreecommitdiffstats
path: root/common/facade.cpp
Commit message (Collapse)AuthorAge
* Use a queryrunner to execute queries.Christian Mollekopf2015-04-15
The queryrunner is responsible for running queries and keeping them up to date. This is required for self-updating queries. To get this to work properly the ResultProvider/emitter had to be fixed. The emitter now only lives as long as the client holds a reference to it, allowing the provider to detect when it is no longer necessary to keep the query alive (because noone is listening). In the process various lifetime issues have been fixed, that we're caused by lambdas capturing smartpointers, that then extended the lifetime of the associated objects unpredictably.