diff options
author | Caroline Chao <caroline.chao@nokia.com> | 2012-01-03 10:26:32 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-05 08:45:56 +0100 |
commit | a8495549d05aa6588a333eb2bc79d5cc0eb48376 (patch) | |
tree | 0ec30167c7f098ecfd792e0780e045e5423733a0 /src/plugins | |
parent | 1d63b9beb976093e728c7fb174923fc60b82d7df (diff) |
CodeCoverage: Remove releaseCoverageTool() function.
QLibraryPrivate::release() can be called multiple times and it is not
appropriate to unregister and save the executed data for a library there.
The library may still be used when it is released and it seems safer to save
its data only once and probably when the application ends.
Not calling __coveragescanner_unregister_library does not affect the
coverage data. Calling __coveragescanner_register_library at load time
without calling __coveragescanner_unregister_library means the plugin will
stay loaded until the application ends. Removing the call to
releaseCoverageTool() is so acceptable since the data will be saved
when the application exits.
Task-number: QTQAINFRA-416.
Change-Id: I3135d2e203ecacfeff4a5b8ffdcd4d62fbc1db33
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions