[webkit-reviews] review requested: [Bug 21810] Remove use of static C++ objects that are destroyed at exit time (destructors) : [Attachment 24896] Removes many exit-time destructors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 4 15:10:11 PST 2008


Greg Bolsinga <bolsinga at apple.com> has asked  for review:
Bug 21810: Remove use of static C++ objects that are destroyed at exit time
(destructors)
https://bugs.webkit.org/show_bug.cgi?id=21810

Attachment 24896: Removes many exit-time destructors
https://bugs.webkit.org/attachment.cgi?id=24896&action=edit

------- Additional Comments from Greg Bolsinga <bolsinga at apple.com>
The types of exit time destructors this does not cover are for code like:

static RefPtr<T> sVar;

This would be:

static RefPtr<T>& sVar = *new RefPtr<T>;

and that just seems weird. Should these be OwnPtr's? There is a similar issue
with RetainPtr<T>


More information about the webkit-reviews mailing list