HomePhabricator

Call DeleteCurrentProcess before we replace the old process.

Description

Call DeleteCurrentProcess before we replace the old process.

We need to ensure that Finalize gets called before we start
to destroy the old Process or the weak_ptr->shared_ptr link
from Threads to Target gets broken before the threads are
destroyed.

rdar://problem/43586979

Differential Revision: https://reviews.llvm.org/D55631

Details

Committed
jinghamDec 17 2018, 5:49 PM
Differential Revision
D55631: Delay replacing the process till after we've finalized it
Branches
Unknown
Tags
Unknown