Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment