[Webkit-unassigned] [Bug 158172] New: Vet every C++ lambda that captures only [this]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 27 16:55:49 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=158172
Bug ID: 158172
Summary: Vet every C++ lambda that captures only [this]
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: beidson at apple.com
Vet every C++ lambda that captures only [this]
At least a few of them are definitely unsafe, in that they are deferred but don't guarantee the lifetime of `this`
I found these by grepping for (pretty much) every lambda usage in WebCore and then narrowing down to [this] captures:
grep -rn '\[.*\]\s*\((.*)\)\?\s*{\s*$' . | grep "\[this\]"
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160527/856cfb92/attachment.html>
More information about the webkit-unassigned
mailing list