[Webkit-unassigned] [Bug 27980] Give an ability to WebKit to free statically allocated pointers before quit
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 11 10:49:16 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27980
--- Comment #23 from Zoltan Herczeg <zherczeg at inf.u-szeged.hu> 2009-08-11 10:49:13 PDT ---
> This won't work with the restrictions we need to work as a Mac OS X framework.
> We can't have any static destructors in our Mac OS X system frameworks as a
> matter of policy to make process exit fast. No objects with destructors as
> globals or statics. That's the reason for the DEFINE_STATIC_LOCAL macro.
I have realized why DEFINE_STATIC_LOCAL (probably DEFINE_GLOBAL is even better
example, which use placement new to hide the destructor) defined, so the
destructor of WTF::StaticPtr is empty of course, and never intended to do
anything...
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list