Hi,
I played around with feature flags, and the docs say that shutdown is async. However, the code tells a different story, as well as the docs at npm.
Thus either the Atlassian docs are incorrect or there is a bug in the code.
Check Atlassian Docs vs npm docs.
Best regards,
Christopher