summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2020-03-09 14:23:23 -0700
committerTreeHugger Robot <treehugger-gerrit@google.com>2020-04-20 23:42:56 +0000
commit11f12be5087956f0096d9f0f8e0e1720c286ca64 (patch)
tree0a657093327e615ef51ae3b1b46f470e0fcd0fe3 /compiler/optimizing/graph_visualizer.cc
parent86ac525b1f42876518c9040aeaf1a9710cc4332e (diff)
Don't call exit() while threads may be running
It's unsafe to call exit() in C++ while there are running threads. The remaining threads would race with static destructors, including those for the standard library. Call _exit instead. Bug: 150176543 Test: Boot AOSP, TreeHugger Change-Id: Ieabf68f43e8b520714643e5ec36a8ca72cc83254 (cherry picked from commit 36896be3815ce0db8dd5f23accfbee24492d7f8a)
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions