Commit 7a38468e authored by Richard Smith's avatar Richard Smith
Browse files

Only destroy static locals if they have non-trivial destructors.

This fixes a regression introduced in
2b4fa534 that caused us to emit
shutdown-time destruction for variables with ARC ownership, using
C++-specific functions that don't exist in C implementations.
parent d3ba1e02
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment