Add option to force synchronous clean up of Package async state
commit1221bca729d1440d29161f8d94641bc8cb83d508
authorRick Lavoie <rlavoie@fb.com>
Sat, 19 Mar 2022 17:24:29 +0000 (19 10:24 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sat, 19 Mar 2022 17:24:29 +0000 (19 10:24 -0700)
tree23c820e496a71edc859dfed82dfbdb37704db51c
parentdd2b2f140931e0231c88c03845f34bb943d9882c
Add option to force synchronous clean up of Package async state

Summary:
By default freeing Package's async state is done in a
separate thread, because it can take a while. Add an option to force
it to be done synchronously.

Reviewed By: oulgen

Differential Revision: D34992534

fbshipit-source-id: 9b95cafe97bbf66701d34b5aecf387c37a564cd5
hphp/compiler/option.cpp
hphp/compiler/option.h
hphp/compiler/package.cpp